v1

latestOpenAPI 3.0.1MIT2026-07-263151,3912.3 MB
Categories

Get Category

Retrieve a category by the category ID.

get/v1/categories/{categoryId}

Response

Returns a category object.

idstring required

Unique category ID assigned by Voucherify.

namestring required

Category name.

hierarchyinteger required

Category hierarchy. Categories with lower hierarchy are processed before categories with higher hierarchy value.

object'category' required

The type of the object represented by the JSON. This object stores information about the category.

created_atstring date-time required

Timestamp representing the date and time when the category was created. The value is shown in the ISO 8601 format.

updated_atstring date-time

Timestamp representing the date and time when the category was updated. The value is shown in the ISO 8601 format.

Example response

{
  "created_at": "2022-07-14T10:45:13.156Z",
  "updated_at": "2022-08-16T10:52:08.094Z"
}