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>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

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}