Skip to main content

Retrieve product variant by id

Retrieve product variant by id

Authorizations:Token
Query Parameters
id
required
integerId value of the ProductVariant object

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