Easymailing
Products

Delete a store product

DELETE /stores/{storeResourceId}/products/{resourceId}

DELETE/stores/{storeResourceId}/products/{resourceId}

Permanently deletes a product and all its variants. Orders that included it are kept, without the link to the product.

When to use: When the product is removed from the shop.

Permissions: Requires the manager role or higher, or the marketing.audiences.delete capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

storeResourceId*string

Identifier (resource_id) of the store the product belongs to.

resourceId*string

Identifier (resource_id) of the product: the one you chose when you created it with create_store_product.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://api.easymailing.com/stores/acme-shop/products/sneaker-01" \  -H "X-Auth-Token: YOUR_API_KEY"
Empty