Skip to main content
GET
Get Discount

Get Discount

Returns a single discount code by its ID.

Request

Path Parameters

string
required
The unique discount ID

Response

Returns the standard response envelope with the discount under data.discount.
integer
HTTP status code
string
Result state, e.g. success
string
Human-readable message (may be null)
object
Wrapper containing the discount

Example Response

Errors

On failure the same envelope is returned with state: "error" and a message: