Create/Update a category

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Values to create/update a category

idstringRequiredformat: "email"
Unique Category ID as saved in the shop
deletedAtstringOptional

UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the category deleted from the shop’s database

isDeletedbooleanOptional
category deleted from the shop's database
namestringOptional

Mandatory in case of creation. Name of the Category, as displayed in the shop

updateEnabledbooleanOptionalDefaults to false

Facilitate to update the existing category in the same request (updateEnabled = true)

urlstringOptional
URL to the category

Response

Category created
idlong or null
ID of the category when a new category is created

Errors