Skip to main content

Delete Store Category

Permanently delete a store category. If the category has child categories, they will be moved to the deleted category's parent (or become top-level if the deleted category had no parent).

Endpointโ€‹

DELETE /v1/store-categories/{id}

Authenticationโ€‹

Requires an API key with the store:write scope.

Parametersโ€‹

ParameterTypeLocationDescription
idintegerpathThe store category ID

Responseโ€‹

Success (204 No Content)โ€‹

No response body.

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks store:write scope
404resource_not_foundStore category does not exist
409conflictCategory has products assigned -- reassign products first
caution

A category cannot be deleted if it has products assigned to it. Reassign or remove the products from the category before deleting it.

Child categories are automatically re-parented when a category is deleted -- they are moved to the deleted category's parent, or become top-level categories if the deleted category had no parent.

Example Requestโ€‹

curl -X DELETE "https://app.equipdash.com/api/v1/store-categories/6" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."