GET
/
v2
/
orders
/
{merchant_id}
curl --request GET \
  --url https://api.loyaltylion.com/v2/orders/{merchant_id}
{
  "cancellation_status": "cancelled",
  "merchant_id": "<string>",
  "payment_status": "not_paid",
  "refund_status": "not_refunded",
  "total_paid": "<string>",
  "total_shipping": "<string>",
  "total": "<string>",
  "merchant_created_at": "<string>",
  "merchant_updated_at": "<string>",
  "payments": [
    {
      "amount": "<string>",
      "created_at": "<string>",
      "gateway": "<string>"
    }
  ],
  "refunds": [
    {
      "amount": "<string>",
      "created_at": "<string>"
    }
  ]
}

Retrieve an order by its ID in your platform or ecommerce store.

Path Parameters

merchant_id
string
required

The ID of the order in your platform or ecommerce store

Minimum length: 1

Response

200
application/json
200

The response is of type object.