KashierDevelopersKashier Developers

Delete a category

curl -X DELETE "https://test-api.kashier.io/v2/category/string"
{  "data": {    "deletedCount": 0  }}

Deletes a category. Products that were filed into it stay in the catalogue — only the grouping goes away.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Path Parameters

id*string

The category's record id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

DELETE
/v2/category/{id}