Skip to main content
DELETE
/
stores
/
{storeId}
/
coupons
/
{couponId}
Delete a coupon
curl --request DELETE \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/coupons/{couponId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Store API token. Use the sk_ prefixed secret key as the Bearer token.

Path Parameters

storeId
string
required

Store ID (shp_ prefix)

Required string length: 12 - 48
couponId
string
required

Coupon ID (cpn_ prefix)

Required string length: 12 - 48

Response

Successful operation

ok
boolean
required
data
any
required