PaidGoods

Delete a coupon (a used one is switched off instead, keeping its history)

DELETE
/v1/stores/{storeId}/coupons/{couponId}

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
couponId*string

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/stores/string/coupons/string"
{  "ok": true,  "disabled": true}