List Product Categories
GET
/store/product-categories
Product Categories
id
. The product categories can also be sorted or paginated.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/store/product-categories' \
--header 'x-publishable-api-key;'
Response Response Example
200 - Example 1
{
"limit": 0,
"offset": 0,
"count": 0,
"estimate_count": 0,
"product_categories": [
{
"id": "string",
"name": "string",
"description": "string",
"handle": "string",
"rank": 0,
"parent_category_id": "string",
"parent_category": {},
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"category_children": [
{}
],
"products": [
{
"length": 0,
"title": "string",
"description": "string",
"id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"handle": "string",
"subtitle": "string",
"is_giftcard": true,
"thumbnail": "string",
"width": 0,
"weight": 0,
"height": 0,
"origin_country": "string",
"hs_code": "string",
"mid_code": "string",
"material": "string",
"collection_id": "string",
"type_id": "string",
"discountable": true,
"external_id": "string",
"deleted_at": "2019-08-24T14:15:22Z",
"categories": [
{}
],
"status": "draft",
"images": [
{
"id": "string",
"url": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {},
"rank": 0
}
],
"tags": [
{
"id": "string",
"value": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {}
}
],
"collection": {
"id": "string",
"title": "string",
"handle": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {},
"products": [
{}
]
},
"type": {
"id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"value": "string"
},
"options": [
{
"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": {},
"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"
}
]
}
],
"variants": [
{
"product": {},
"length": 0,
"title": "string",
"metadata": {},
"id": "string",
"width": 0,
"weight": 0,
"height": 0,
"origin_country": "string",
"hs_code": "string",
"mid_code": "string",
"material": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"product_id": "string",
"sku": "string",
"barcode": "string",
"ean": "string",
"upc": "string",
"allow_backorder": true,
"variant_rank": 0,
"manage_inventory": true,
"inventory_quantity": 0,
"options": [
{
"id": "string",
"value": "string",
"option": {},
"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"
}
],
"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
}
}
]
}
]
}
]
}
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
description
optional
One of
q
query parameter instead.handle
optional
One of
parent_category_id
optional
One of
include_ancestors_tree
booleanÂ
include_ancestors_tree
fields
query parameter parent_category
to set the parent of a category in this field. You can either pass *parent_category
to retreieve the fields of all parent categories, or select specific fields to make the response size smaller. For example, fields=parent_category.id,parent_category.name
.include_descendants_tree
booleanÂ
include_descendants_tree
fields
query parameter category_children
to set the child of a category in this field. You can either pass *category_children
to retreieve the fields of all child categories, or select specific fields to make the response size smaller. For example, fields=category_children.id,category_children.name
.$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:
["",""]
name
optional
One of
Header Params
x-publishable-api-key
stringÂ
required
Responses
Modified at 2025-06-17 04:21:30