Delete a store
DELETE /stores/{resourceId}
/stores/{resourceId}Permanently deletes a store together with its customers, products, variants, categories and orders. The audience members created for its customers are kept.
When to use: When the shop is disconnected for good. The revenue statistics of the audience are recalculated.
When not to use: To keep the data and only change the store use update_store.
Side effects: Revenue statistics of the audience are recalculated in the background.
Permissions: Requires the manager role or higher, or the marketing.audiences.delete capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
Identifier (resource_id) of the store: the one you chose when you created it with create_store.
Response Body
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/stores/acme-shop" \ -H "X-Auth-Token: YOUR_API_KEY"