Retrieve a category node
Returns a single category node by its identifier.
name and the merged attributes are rendered in the language selected for the request; see the IGNORE_ACCEPT_LANGUAGE_HEADER dynamic setting under Dynamic Settings & Environment Variables.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the category node.
The requested category node.
A category node of the catalog category tree.
The unique identifier of the node.
The display name of the node, rendered in the language selected for the request.
The client-supplied unique identifier of the node.
The node's level in the tree, starting at 1 for a tree root.
The node's materialized path — one step of exactly 4 base-36 characters (0-9A-Z) per tree level, e.g. 0001 for a root and 00010002 for a child of it. A node and its descendants are exactly the records whose path starts with this value. Use it for prefix matching only; never parse a step as a decimal number.
The storefront path of the node's category page — its pretty URL when one exists, otherwise the default /category/{pk}/ route (language-prefixed on deployments that enable I18N_ACTIVE).
The uuid of the menu item mirroring this node in the storefront navigation, or null when the node has no menu item.
The identifier of the sort option used as the default ordering of the node's category-page product listing, applied only when the visitor has not chosen an explicit sort.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No category node exists with the given identifier.
GET /api/v1/remote/1/category_node/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 42,
"name": "Shoes",
"menuitemmodel": "3f2a1c9e-8b7d-4a6f-9c0e-1d2b3a4c5e6f",
"absolute_url": "/shoes/",
"sort_option": 3,
"uuid": "9f1c2e7a-4b8d-4f3a-9c11-2d6e8b7a0f45",
"depth": 2,
"path": "00010002",
"attributes": {
"size_chart": {
"value": 12,
"kwargs": {
"label": "Women's Shoes"
}
}
}
}Last updated
Was this helpful?

