Create Normal Orders
Request
Method: POST
Endpoint: orders/integration
Content-Type: application/json
Request Body
| Field Name | Required | Type | Description |
|---|---|---|---|
customer | Yes | object | An object containing the customer's details as per the Customer Details table. |
products | Yes | array of objects | An array of product objects, each structured as per the Product Details table. |
notes | No | string | Any additional notes or special instructions for the order. |
total | Yes | number | The total price to be collected for the order (including shipping) - COD. |
integratorId | No | number | Your own reference number for this order (a positive whole number). It's returned in order listings and printed on the waybill as "Reference ID". Must be unique across all of your integration orders, including orders imported from Shopify; a reused number is rejected with 409 Conflict. |
For prepaid orders, send a total of 0.
Customer Details
| Field Name | Required | Type | Description |
|---|---|---|---|
first_name | Yes | string | The customer's first name. |
last_name | Yes | string | The customer's last name. |
phone | Yes | string | The customer's phone number. |
address | Yes | string | The customer's full address. |
governorate | Yes | string | The customer's governorate (check Governorate Details list). |
Valid Governorate Syntaxes
The following values are valid governorate strings in the system:
6th of OctoberAlexandriaAswanAsyutBeheiraBeni SuefCairoDakahliaDamiettaFayedFayoumGharbeyaGizaHelwanIsmailiaKafr El SheikhLuxorMatrouhMenoufiaMinyaNew ValleyNorth SinaiPort SaidQalyubiaQenaRed SeaSharkeyaSohagSouth SinaiSuez
Product Details
| Field Name | Required | Type | Description |
|---|---|---|---|
id | Yes | string | The unique identifier for the product. |
name | Yes | string | The name of the product. |
quantity | Yes | number | The quantity of the product ordered (must be at least 1). |
price | Yes | string | The price of a single unit of the product in EGP. |
discount | No | string | The discount applied to the product, if any, in EGP. |
variant | Yes | string | The specific variant of the product (e.g., color and/or size). |
variant_id | No | string | The unique identifier for the product variant. |
weight | Yes | number | The weight of a single unit of the product, in KG. |
properties | No | string[] | An array of additional properties for the product. |
Example Payload
Response
✅ 201 Created
The order was successfully created.
Response Body
❌ 400 Bad Request
The request was invalid (e.g., missing required fields).
Example Error (Validation)
Example Error (Invalid integratorId)
A value that isn't a positive whole number (for example "1042" as text, 10.5, 0 or -3) fails schema validation.
Example Error (Client Not Found)
Example Error (Creation Failure)
❌ 409 Conflict
This integratorId is already used by one of your integration orders (including orders imported from Shopify). No new order was created.
