Menu
Create a new master category
Create a new master category
POST
/master-categoriesUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Create a new master category action (under MasterCategories).
- Fill in the fields below, then reference the result from later steps as
{{createANewMasterCategory.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"path": [
"Women",
"Fashion",
"Shirts"
],
"id": 2,
"parentId": 1,
"attributes": [
{
"name": "color",
"type": "simple",
"isMandatory": false,
"defaultValue": null
}
]
}
Response
Returns 201 with an object. Read it in later steps with {{createANewMasterCategory.response.data.<field>}}.
{
"path": [
"Women",
"Fashion",
"Shirts"
],
"id": 2,
"parentId": 1,
"attributes": [
{
"name": "color",
"type": "simple",
"isMandatory": false,
"defaultValue": null
}
]
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?