docs
  1. Storefront Api
  2. Resources
  3. Variants
  4. List Variants

List Variants

List variants

Query Parameters

ParameterDetails
shopId
integer
Example:
10001
ids
  • required
Array of integers
integer
Example:
987654
campaignKey
string
Example:
e6413f96-b47c-4be1-be61-d2206adeae71
pricePromotionKey
string
Example:
ppk-123
with
Array of strings
Default:
[]
string
Example:
attributes

Header Parameters

ParameterDetails
X-Shop-Id
integer
Example:
10001

Responses

200
successful operation
application/json
Success
required
Array of undefined
required
object
400
Required query parameter missing / invalid
application/json
Error
401
Authentication information is missing or invalid
application/json
Error
429
Triggered when a client exceeds the API request limit.
application/json
Error
GET/v1/variants

Request samples

Response samples

200
Content type: application/json
Provide Feedback