List Product Variants
GET
/admin/product-variants
Product Variants
id
. The product variants can also be sorted or paginated.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/admin/product-variants'
Response Response Example
200 - Example 1
{
"limit": 0,
"offset": 0,
"count": 0,
"variants": [
{
"calculated_price": {
"id": "string",
"is_calculated_price_price_list": true,
"is_calculated_price_tax_inclusive": true,
"calculated_amount": 0,
"calculated_amount_with_tax": 0,
"calculated_amount_without_tax": 0,
"is_original_price_price_list": true,
"is_original_price_tax_inclusive": true,
"original_amount": 0,
"currency_code": "usd",
"calculated_price": {},
"original_price": {},
"original_amount_with_tax": 0,
"original_amount_without_tax": 0
},
"prices": [
{
"id": "string",
"title": "string",
"currency_code": "usd",
"amount": 0,
"raw_amount": {},
"min_quantity": 0,
"max_quantity": 0,
"price_set_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
],
"id": "string",
"title": "string",
"sku": "string",
"barcode": "string",
"ean": "string",
"upc": "string",
"allow_backorder": true,
"manage_inventory": true,
"inventory_quantity": 0,
"hs_code": "string",
"origin_country": "string",
"mid_code": "string",
"material": "string",
"weight": 0,
"length": 0,
"height": 0,
"width": 0,
"variant_rank": 0,
"options": [
{
"option": {
"id": "string",
"title": "string",
"product": {},
"product_id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"values": [
{}
]
},
"id": "string",
"value": "string",
"option_id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
],
"product": {},
"product_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {},
"inventory_items": [
{
"inventory": {
"id": "string",
"sku": "string",
"origin_country": "string",
"hs_code": "string",
"requires_shipping": true,
"mid_code": "string",
"material": "string",
"weight": 0,
"length": 0,
"height": 0,
"width": 0,
"title": "string",
"description": "string",
"thumbnail": "string",
"metadata": {},
"location_levels": [
{
"id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"inventory_item_id": "string",
"location_id": "string",
"stocked_quantity": 0,
"reserved_quantity": 0,
"incoming_quantity": 0,
"metadata": {},
"inventory_item": {},
"available_quantity": 0
}
]
},
"id": "string",
"variant_id": "string",
"variant": {},
"inventory_item_id": "string"
}
]
}
]
}
Request
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.offset
numberÂ
offset
limit
numberÂ
limit
order
stringÂ
order
-
.q
stringÂ
q
id
optional
One of
manage_inventory
booleanÂ
manage_inventory
manage_inventory
is enabled.allow_backorder
booleanÂ
allow_backorder
$ne
array[string]
optional
Example:
["","",""]
$gt
array[string]
optional
Example:
["","",""]
$gte
array[string]
optional
Example:
["","",""]
$lt
array[string]
optional
Example:
["","",""]
$lte
array[string]
optional
Example:
["","",""]
$like
array[string]
optional
like
filter. Useful for strings only.Example:
["","",""]
$re
array[string]
optional
Example:
["","",""]
$ilike
array[string]
optional
like
filter. Useful for strings only.Example:
["","",""]
$fulltext
array[string]
optional
Example:
["","",""]
$exists
array[string]
optional
null
).Example:
["","",""]
$and
array [object]Â
$and
Example:
["","",""]
$or
array [object]Â
$or
Example:
["","",""]
$in
array[string]
optional
Example:
["","",""]
$nin
array[string]
optional
Example:
["","",""]
$overlap
array[string]
optional
Example:
["","",""]
$contains
array[string]
optional
Example:
["","",""]
$contained
array[string]
optional
Example:
["","",""]
$eq
array[string]
optional
Example:
["","",""]
$not
array[string]
optional
Example:
["","",""]
Responses
Modified at 2025-06-17 04:10:32