Skip to main content
DELETE
Ruby
You can identify the discount code by its unique ID (e.g. dcode_...) or by the alphanumeric code (e.g. STEVEN10OFF).

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

idOrCode
string
required

The unique ID (e.g. dcode_...) or alphanumeric code (e.g. ABC123) of the discount code to delete.

Example:

"dcode_1JVR7XRCSR0EDBAF39FZ4PMYE"

Response

The deleted discount code unique ID (e.g. dcode_...).

id
string
required

The unique ID of the discount code.

Example:

"dcode_1JVR7XRCSR0EDBAF39FZ4PMYE"