Get a discount

Request

GET https://api.nexway.store/discounts/{idOrCode}

Path parameters

Parameter name Value Description Additional
idOrCode string

idOrCode

Required

Query parameters

Parameter name Value Description Additional
catalogId string

catalogId

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

Discount
400 Bad Request

Bad Request

404 Not Found

Not Found

500 Internal Server Error

Failure


Explore this API

idOrCode

idOrCode

catalogId

catalogId

Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!