Skip to main content
DELETE
Delete Collection

Delete Collection

Permanently deletes a collection. This action cannot be undone. Products in the collection are not deleted, only their association with the collection is removed.

Request

Path Parameters

id
string
required
The unique collection ID to delete

Response

Returns the standard response envelope confirming deletion.
status
integer
HTTP status code
state
string
Result state, e.g. success
message
string
Human-readable confirmation message
data
object
Not populated for this endpoint

Example Response

Notes

  • Deleting a collection does not delete the products in it
  • Products are simply disassociated from the collection
  • Navigation menu links pointing to this collection will become broken

Errors

On failure the same envelope is returned with state: "error" and a message:
StatusCondition
401Invalid or missing access token
403App doesn’t have write_products scope
404Collection with the specified ID does not exist