Menu
Update Category
Update Category
PUT
/v1/categories/{categoryId}Use it in a workflow
- Add a step and choose the Voucherify connector.
- Pick the Update Category action (under Categories).
- Fill in the fields below, then reference the result from later steps as
{{updateCategory.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"hierarchy": 0
}
Response
Returns 200 with an object. Read it in later steps with {{updateCategory.response.data.<field>}}.
{
"id": "string",
"name": "string",
"hierarchy": 0,
"object": "category",
"created_at": "2022-07-14T10:45:13.156Z",
"updated_at": "2022-08-16T10:52:08.094Z"
}
Need more? See the Voucherify guide for connection setup and behaviour shared by every action.
Was this page helpful?