Add a coupon

This end point will add a coupon to the given order

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
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json