Skip to main content

Retrieve a list of related products

Retrieve a product by id

Authorizations:Token, JWT
Query Parameters
id
required
integer>= 1

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
brandNamestring or null
minPurchaseQuantityinteger
stickersArray of objects
Array
labelstring
textColorstring
bgColorstring
marketPricenumber or null
participateSaleboolean
discountTypestringEnum: "sale_price""sale_percent"
saleValuenumber
salePricenumber
variation_basesArray of integers
main_variation_baseobject or null
  • object
  • null
base_idinteger
namestring
statsobject
min_pricenumber
max_pricenumber
product_idsArray of integers
idinteger or null>= 1
401Unauthorized
Response schema:
Unauthorized
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
404Resource not found
Response schema:
Resource not found
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
500Internal error
Response schema:
Internal error
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null