merchant_id
to identify the order.
This is a full update and must include the order’s current payment, cancellation
and refund status, including any relevant totals if required (total_paid
and
total_refunded
).
The update endpoint is idempotent, so it’s safe to call it every time an order
is updated in your system.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
Path Parameters
Minimum length:
1
Body
application/json
Body
Available options:
not_paid
, partially_paid
, paid
Available options:
not_refunded
, partially_refunded
, refunded
Available options:
cancelled
, not_cancelled
The total amount paid for the order as a decimal string without formatting, e.g. 99.99
Example:
"99.99"
The total amount refunded for the order as a decimal string without formatting, e.g. 59.99
Example:
"59.99"
Response
204
The response is of type string
.
Allowed value:
""