Skip to main content
POST

Authorizations

Authorization
string
header
required

Store API key created in the Leyyow suite under Settings → Public API. Sent as Authorization: Bearer <key>.

Body

application/json
customer_name
string
required
Example:

"Ada Okafor"

customer_email
string<email>
required
customer_phone
string
required
Example:

"+2348012345678"

items
object[]
required
Minimum array length: 1
fulfilment_method
enum<string>
required
Available options:
pickup,
delivery
payment_source
enum<string>
required
Available options:
paystack
delivery_address
string | null

Required when fulfilment_method is delivery.

delivery_method
enum<string> | null

manual for Manual or Express Delivery, shipbubble for Managed Delivery, null for pickup.

Available options:
manual,
shipbubble,
null
courier
object

The full Courier object from the shipping quote. Send {} for pickup and manual delivery.

rate
string

The request_token from the shipping quote. Send "" for pickup and manual delivery.

manual_delivery_option
string<uuid> | null

uid of the chosen delivery option. Required when delivery_method is manual, otherwise null.

Response

Order created.

error
string | null
required

Human-readable failure reason, or null on success.

Example:

null

message
string
required

Short status message.

Example:

"Request successful."

data
object
required

Response payload. null on failure.