Skip to main content

Add product variant

Add product variant

Authorizations:Token
Request Body Schema:
ProductVariant object that needs to be added
idintegerUnique ID
product
pricestringPrice
defaultPricebooleanDefault price flag
amountintegerAmount
defaultAmountbooleanDefault amount flag
weightstringWeight
defaultWeightbooleanDefault weight flag
skustringProduct SKU
variant_idstringProduct variant unique id
defaultValuebooleanDefault flag
image
attributeValueCArrayAttribute value (checkbox)
attributeValueSArrayAttribute value (select)
orderItemsArrayProduct order items

Responses

200Success
Response schema:
Success
idintegerUnique ID
product
pricestringPrice
defaultPricebooleanDefault price flag
amountintegerAmount
defaultAmountbooleanDefault amount flag
weightstringWeight
defaultWeightbooleanDefault weight flag
skustringProduct SKU
variant_idstringProduct variant unique id
defaultValuebooleanDefault flag
image
attributeValueCArrayAttribute value (checkbox)
attributeValueSArrayAttribute value (select)
orderItemsArrayProduct order items