Record order with a coupon

For In-Store situations where a referral transaction can occur identified by a coupon and typically without a customer email address.

The coupon must be a single-use coupon. You can validate the coupon code first using the Merchant API -> Validate Coupon Code endpoint if you wish.

If you have an email address and may not have a coupon, use the Record Order endpoint instead.

We will use the order confirmation to:

  • Record the customer is an existing customer and no longer eligible for introductory rewards (and mark their referral as redeemed)

  • Reward a referrer if this purchase was as a result of a referral

We will also use the data to optimise your referral scheme.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

Version

Allowed:
Body Params

About the order

order
required

Information about the order which took place

customer

Information about the customer who placed the order (if present)

request
required

Information about the request

address

Information about the address of the customer who placed the order

Responses
202

Returned when successful

400

The request contains errors

403

Returned when the integration for this merchant is not enabled

404

Returned when it is not possible to confirm an order took place with these details

422

The request cannot be processed because of validation errors

500

Internal server error, unable to complete the request

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!