Relationships
You can use the Categories API to associate categories with each other in a hierarchical tree structure. The relationship between Categories is known as parents
and children
.
You can create relationships between categories by attaching parent
and child
category IDs to the category of interest. A category can have 1 parent but many children.
The Category Relationship endpoint allows you to specify the parent and children of a category in one request.
Get the Categories tree
GET
https://api.moltin.com/v2/categories/tree
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The Bearer token to grant access to the API |
Last updated