Growth
Delete expired and used-up coupons; ones with orders are archived, keeping their history
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/coupons/delete-expired"{ "deleted": -9007199254740991, "archived": -9007199254740991}