Storefront & Orders
Public checkout quote calculation, cart dimension aggregation, directory discovery, and order placement.
Calculate public delivery quotes for consumer checkout. Aggregates dimensions and weights across cart products, computes volumetric weight and size class, validates merchant delivery radius, and evaluates multiple SLAs (Express, Saver, Standard), pickup points, and carrier linehaul options.
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| store_slug | string | Required | Merchant store identifier slug (e.g. "konga-yaba"). |
| dropoff_address | string | Optional | Customer street address for forward geocoding. |
| dropoff_latitude | decimal | Optional | Destination dropoff latitude. |
| dropoff_longitude | decimal | Optional | Destination dropoff longitude. |
| items | array | Optional | Cart items array of { product_id: string, quantity: number } to aggregate weight and dimensions. |
| destination_mode | string | Optional | Destination fulfillment mode. Allowed: "DOOR""PICKUP_POINT"Default: DOOR |
| pickup_point_id | string (uuid) | Optional | Target pickup point UUID when destination_mode is PICKUP_POINT. |
| declared_value | decimal | Optional | Total declared cart value. |
Place an order through the public store checkout. Creates the shipment manifest, calculates exact platform and delivery charges, and binds Paystack or manual payment credentials. Supports idempotency keys.
Request Headers
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| store_slug | string | Required | Store slug identifier. |
| customer_name | string | Required | Customer full name. |
| customer_phone | string | Required | Customer phone number. |
| customer_email | string | Optional | Customer receipt email. |
| dropoff_address | string | Required | Dropoff delivery address string. |
| dropoff_latitude | decimal | Optional | Dropoff latitude. |
| dropoff_longitude | decimal | Optional | Dropoff longitude. |
| items | array | Required | Array of { product_id, quantity } items ordered. |
| delivery_type | string | Optional | Order fulfillment type. Allowed: "DELIVERY""PICKUP"Default: DELIVERY |
| service_level | string | Optional | Chosen shipping velocity. Allowed: "STANDARD""EXPRESS""SAVER"Default: STANDARD |
| payment_provider | string | Optional | Payment provider for the order. Allowed: "paystack""manual"Default: paystack |
| payment_reference | string | Optional | Paystack transaction reference after client checkout. |
Public directory for discovering active merchant stores. Supports GPS bounding-box distance filtering (25km), business category chips, open-now filtering, and SLA precedence sorting.
Query Parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
| category | string | Optional | Store category filter. Allowed: "FOOD""GROCERY""PHARMACY""RETAIL""ALL" |
| city | string | Optional | City name text filter. |
| lat | decimal | Optional | User GPS latitude for distance sorting. |
| lng | decimal | Optional | User GPS longitude for distance sorting. |
| open_now | boolean | Optional | Filter stores currently open for ordering. |
| limit | integer | Optional | Page size limit (max 50). Default: 20 |
| offset | integer | Optional | Pagination offset. Default: 0 |
Forward geocode structured or freeform African address queries into precise GPS coordinates and standardized address components.
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| query | string | Optional | Freeform search query or street text. |
| house_number | string | Optional | House or building number. |
| street | string | Optional | Street name. |
| landmark | string | Optional | Nearby landmark or bus stop. |
| area | string | Optional | Neighborhood / Area. |
| city | string | Optional | City name. |
| country | string | Optional | Two-letter ISO country code. Default: NG |