Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Delete a Coupon

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Coupons permission scope.

DELETE

https://www.wixapis.com/stores/v2/coupons/{id}

Path Params

NAME
TYPE
DESCRIPTION
id
Required

string

ID of coupon to be deleted

Response Object

Returns an empty object.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Request

curl

Copy Code
1curl 'https://www.wixapis.com/stores/v2/coupons/6df8d9ea-9e31-49af-b272-5e22861cce92' \
2 -X DELETE \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{}