Product Variants
All endpoints related to Product Variants
Supported Endpoints
getAllVariants()
: Returns a list of all products created.getVariant(id, vid)
: Gets listing by the entered ID.createProductVariant(id, fields)
: Create Listing.updateProductVariant(id, vid, fields)
: Updates a listing by the entered ID.deleteProductVariant(id, vid)
: Deletes a listing by the entered ID.
getAllVariants()
getAllVariants()
id
string
✔️
ID of a Product
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
getVariant()
getVariant()
id
string
✔️
ID of a Product
vid
string
✔️
ID of the Variant
createProductVariant()
createProductVariant()
id
string
✔️
ID of the product
fields
object
✔️
Product's field
updateProductVariant()
updateProductVariant()
id
string
✔️
ID of the product you want to update
fields
object
✔️
Product's field
deleteProductVariant()
deleteProductVariant()
vid
string
✔️
ID of a Variant
Last updated