Validate Coupon

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

After performing the validation, if the response was successful (status code 200), the channel needs to call the PATCH Update Basket - Discounts endpoint, using the following pattern:

[
  {
      "externalId": "coupon code",
      "provider": "coupon",
      "type": "order_flat_off",
      "value": 1234,
      "name": "coupon description"
  }
]
Path Params
string
required
string
required
Body Params
integer
enum
required

Order type, according to the fulfillment type

Allowed:
items
array of objects
required
items*
integer
required
Defaults to true
string
required
Responses

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