Products v2
All endpoints related to Products v2
Supported Endpoints
getAllProducts()
: Returns a list of all products created.getListing(id)
: Gets listing by the entered ID.createProduct(fields)
: Create Listing.updateListing(id, fields)
: Updates a listing by the entered ID.deleteListing(id)
: Deletes a listing by the entered ID.
Products v2
getAllProducts()
getAllProducts()
Parameters
Type
Required
Description
limit
integer
❌
Limit the number of products returned
page
integer
❌
The page number you are attempting to access.
with_trashed
boolean
❌
Include deleted products in the results
only_trash
boolean
❌
Limit the results to only deleted products
getProduct()
getProduct()
Parameters
Type
Required
Description
id
string
✔️
ID of a Product
createProduct()
createProduct()
Parameters
Type
Required
Description
fields
object
✔️
Product's field
updateProduct()
updateProduct()
Parameters
Type
Required
Description
id
string
✔️
ID of the product you want to update
fields
object
✔️
Product's field
deleteProduct()
deleteProduct()
Parameters
Type
Required
Description
id
string
✔️
ID of a Product
Last updated