Get product categories
GET
/product-categories
curl -X GET "https://api.moov.io/product-categories" \
-H "Authorization: Bearer {token}" \
-H "X-Moov-Version: v2027.01.00"The request completed successfully.
A list of product categories from the product taxonomy.
{
"categories": [
{
"categoryID": "string",
"name": "Beverages",
"fullName": "Food, Beverages & Tobacco > Beverages",
"level": 2,
"parentID": "string"
}
]
}Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request contained missing or expired authentication.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The user is not authorized to make the request.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Request was refused due to rate limiting.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed due to an unexpected error.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Headers
X-Moov-Version
string
Set this header to v2027.01.00 to use the API described in this specification.
When omitted, the server defaults to v2024.01.00, the earliest supported version, which may not match the behavior documented here.
An unrecognized well-formed version uses the latest supported version that is not newer than the requested version, when one exists.
For example,
v2026.08.00 uses v2026.07.00.
A malformed value, such as 2022, returns a 404 response.
Possible values:
v2027.01.00
Response
categories
array<object>
required
Show child attributes
categories[]
categoryID
string
The unique identifier for the category.
Unique identifier for a product category in the product taxonomy.
fullName
string
The full taxonomy path name of the category.
level
integer<int32>
The depth of the category in the taxonomy tree (1 = top-level).
name
string
The short display name of the category.
parentID
string
The identifier of the parent category, if any. Absent for top-level categories.
Unique identifier for a product category in the product taxonomy.