Skip to main content
GET
/
api
/
openapi
/
products
/
{spuCode}
/
variants
List Variants
curl --request GET \
  --url https://api.platform.poderp.com/api/openapi/products/{spuCode}/variants \
  --header 'Authorization: Bearer <token>'
[
  {
    "skuCode": "<string>",
    "size": "<string>",
    "color": "<string>",
    "weight": 123
  }
]
Returns all variants (SKUs) for a specific product. Use the skuCode from the response in the sku field when creating orders.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

spuCode
string
required

The product SPU code

Response

200 - application/json

List of variants for the product

skuCode
string

SKU code — use this value in the sku field when creating orders

size
string

Variant size

color
string

Variant color

weight
number

Weight in kg