Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Authenticate using a Leyyow merchant API key.

Include the key in every request as a Bearer token:

Keys are scoped to a single store. All endpoints return data belonging to the store that issued the key — there is no X-Store-Id override.

Keys are created in the Leyyow merchant dashboard under Settings → Developer → API Keys.

Path Parameters

order_number
string
required

Response

Order detail.

Serializer for public order details

uid
string<uuid>
required
read-only
order_number
string
required

Unique order number

Maximum string length: 50
store
string<uuid>
required

Store where this order was placed

store_name
string
required
read-only
store_email
string<email>
required
read-only
store_phone
string
required
read-only
location_name
string
required
read-only
customer_name
string
required
read-only
customer_phone
string
required
read-only
customer_email
string<email>
required
read-only
customer_address
string
required
read-only
total_paid
string
required
read-only
outstanding_balance
string
required
read-only
payment_status_display
string
required
read-only
fulfilment_status_display
string
required
read-only
manual_delivery_type
string
required
read-only
has_shipping
boolean
required
read-only
created_at
string<date-time>
required
read-only
shipping_details
string
required
read-only
items
object[]
required
read-only
source
enum<string>

How the order was created

  • internal - Internal
  • storefront - Storefront
  • popup_storefront - Popup Storefront
  • popup_internal - Popup Internal
Available options:
internal,
storefront,
popup_storefront,
popup_internal
location
string<uuid> | null

Location where this order was placed

customer
string<uuid> | null

Customer who placed this order

total_amount
string<decimal> | null
Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
subtotal
string<decimal>

Order total before discount and delivery fee

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
discount_amount
string<decimal>

Total discount amount applied

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
tax_amount
string<decimal>

Tax amount applied to this order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
tax_rate_used
string<decimal> | null

Tax rate used when this order was created (e.g. 0.075 for 7.5%)

Pattern: ^-?\d{0,1}(?:\.\d{0,4})?$
payment_status
enum<string>
  • unpaid - Unpaid
  • partially_paid - Partially Paid
  • paid - Paid
  • refunded - Refunded
Available options:
unpaid,
partially_paid,
paid,
refunded
fulfilment_status
enum<string>
  • unfulfilled - Unfulfilled
  • fulfilled - Fulfilled
  • returned - Returned
  • partially_fulfilled - Partially Fulfilled
  • voided - Voided
  • cancelled - Cancelled
Available options:
unfulfilled,
fulfilled,
returned,
partially_fulfilled,
voided,
cancelled
fulfilment_method
enum<string>

How the order will be fulfilled

  • pickup - Pickup
  • delivery - Delivery
Available options:
pickup,
delivery
delivery_fee
string<decimal>

Delivery fee for this order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
tracking_number
string
Maximum string length: 100
order_date
string<date> | null

Date when the order was placed (for recording past orders). Defaults to current date if not provided.