Delete a retail store group
Hard-deletes the group and removes it from every schedule it was assigned to. A group that still has at least one store is rejected with 400; detach its stores first.
Deletion is recorded for the data-warehouse export unless address.RetailStoreGroup is listed in IGNORE_DELETED_ITEMS_SIGNAL — see the section introduction.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the retail store group.
The group was deleted successfully. No response body.
No content
The group cannot be deleted because at least one retail store still belongs to it.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested retail store group does not exist.
DELETE /api/v1/remote/1/retailstoregroups/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

