Authorizations
An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer
token in the Authorization
header
Query Parameters
Create the order in the specified site. This is only required for programs that have multiple sites. Programs with only a single site can omit this parameter, and the order will be created in the program's only site
Body
Body
The ID of the customer in your platform or ecommerce store who placed the order
The email address of the customer who placed the order
The ID of the order in your platform or ecommerce store
The total amount of order as a decimal string without formatting, e.g. 99.99
The total shipping amount for the order as a decimal string without formatting, e.g. 3.49
The total amount paid for the order as a decimal string without formatting, e.g. 9.99
not_paid
, partially_paid
, paid
A optional order number to identify this order in your system
A list of LoyaltyLion claimed reward IDs that were used with this order
An ISO 8601
timestamp representing the date of the order. Defaults to now if not provided
The IP address of the customer who placed the order. Used to track referrals
The user agent of the customer who placed the order. Used to track referrals
A LoyaltyLion referral ID, used to link this order to a referral
A LoyaltyLion tracking ID, used to link this order to a tracking source
Whether this order was placed by a guest customer
Response
201
The response is of type string
.
""