Skip to main content

Retrieve a product by id

Retrieve a product by id.

Authorizations:Token, JWT
Query Parameters
id
required
integer

Responses

200Product Compact resource
Response schema:
Product Compact resource
skustring
namestring
cleanUrlstring
briefDescriptionstring
pricenumber or null
requiresShippingboolean
arrivalDateinteger
amountinteger
imagesArray of objects
Array
urlstring
widthinteger
heightinteger
altstring
stickersArray of objects
Array
labelstring
textColorstring
bgColorstring
canBeBackorderedboolean
backorderQtyLabelstring
isLimitedBackorderboolean
backorderLimitinteger
participateSaleboolean
discountTypestringEnum: "sale_price""sale_percent"
saleValuenumber
salePricenumber
marketPricenumber
minPurchaseQuantityinteger
brandNamestring or null
idinteger or null>= 0
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
404Resource not found
Response schema:
Resource not found
typestring
titlestring
detailstring or null
instancestring or null
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null