Skip to main content
DELETE
Delete a category
Deletes a category within the store. A category that still has products, foods or services assigned to it is not deleted and returns 400; move or merge those items first. The store is bound to your app token server-side — never send a shop id.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Path Parameters

id
string
required

The category id.

Response

The category was deleted; reports how many products were detached.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required

HTTP status code, echoed in the body.

success
boolean
required

Whether the request succeeded.

message
string
required

Human-readable result message.

data
object