Category Relationships
Create Category Relationship
POST
https://api.moltin.com/v2/categories/:id/relationships/categories
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The ID of the Category you want to modify relationships for |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The Bearer token to grant access to the API |
Request Body
Name | Type | Description |
---|---|---|
parent.type | string | The type of the related object (should be |
parent.id | string | The ID of the parent Category |
children[].type | string | The type of related object (should be |
children[].id | string | The ID of the Category |
Last updated