These docs are for v2017-01-01. Click to read the latest docs for v2021-03-10.

Add a coupon

This end point will add a coupon to the given order

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

If successful the API call will return an adjustment object with type coupon. However if coupon is not found or if the order has a pre-applied coupon, this endpoint will throw an error.

Body Params
coupon
object

Details of the coupon that is being added

Responses

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