Retrieve a promotion code


Errors

In addition to the Errors applicable to all API endpoints, the following errors are specific to retrieving a promotion code:

status code error code description
404 promotion-code.not-found No promotion code was found meeting the requirements. Make sure to use the right promotionCodeId and API key. test objects can only be accessed using test keys and live object with live keys.
Path Params
string
required

The unique identifier of the Promotion Code object.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json