Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Specify the details of the category that you would like to create.
Response
Returns a newly created category object.
Response body schema for POST v1/categories
.
Unique category ID assigned by Voucherify.
Category name.
Category hierarchy. Categories with lower hierarchy are processed before categories with higher hierarchy value.
Required range:
x >= 0
Available options:
category
Timestamp representing the date and time when the category was created. The value is shown in the ISO 8601 format.
Example:
"2022-07-14T10:45:13.156Z"