Turuq Onboarding

Create Normal Orders

Request

Method: POST

Endpoint: orders/integration

Content-Type: application/json

Request Body

Field NameRequiredTypeDescription
customerYesobjectAn object containing the customer's details as per the Customer Details table.
productsYesarray of objectsAn array of product objects, each structured as per the Product Details table.
notesNostringAny additional notes or special instructions for the order.
totalYesnumberThe total price to be collected for the order (including shipping) - COD.

For prepaid orders, send a total of 0.

Customer Details

Field NameRequiredTypeDescription
first_nameYesstringThe customer's first name.
last_nameYesstringThe customer's last name.
phoneYesstringThe customer's phone number.
addressYesstringThe customer's full address.
governorateYesstringThe customer's governorate (check Governorate Details list).

Valid Governorate Syntaxes

The following values are valid governorate strings in the system:

  • 6th of October
  • Alexandria
  • Aswan
  • Asyut
  • Beheira
  • Beni Suef
  • Cairo
  • Dakahlia
  • Damietta
  • Fayed
  • Fayoum
  • Gharbeya
  • Giza
  • Helwan
  • Ismailia
  • Kafr El Sheikh
  • Luxor
  • Matrouh
  • Menoufia
  • Minya
  • New Valley
  • North Sinai
  • Port Said
  • Qalyubia
  • Qena
  • Red Sea
  • Sharkeya
  • Sohag
  • South Sinai
  • Suez

Product Details

Field NameRequiredTypeDescription
idYesstringThe unique identifier for the product.
nameYesstringThe name of the product.
quantityYesnumberThe quantity of the product ordered (must be at least 1).
priceYesstringThe price of a single unit of the product in EGP.
discountNostringThe discount applied to the product, if any, in EGP.
variantYesstringThe specific variant of the product (e.g., color and/or size).
variant_idNostringThe unique identifier for the product variant.
weightYesnumberThe weight of a single unit of the product, in KG.
propertiesNostring[]An array of additional properties for the product.

Example Payload

{
  "customer": {
    "first_name": "Ahmed",
    "last_name": "Kamal",
    "phone": "01012345678",
    "address": "15 El-Nasr St., Maadi",
    "governorate": "Cairo"
  },
  "products": [
    {
      "id": "prod_abc123",
      "name": "Smartwatch X Pro",
      "quantity": 1,
      "price": "2500.00",
      "discount": "100.00",
      "variant": "Black",
      "variant_id": "var_xyz789",
      "weight": 0.25,
      "properties": ["Water Resistant", "Heart Rate Monitor"]
    },
    {
      "id": "prod_def456",
      "name": "Wireless Earbuds",
      "quantity": 2,
      "price": "750.00",
      "variant": "White",
      "weight": 0.1,
      "properties": []
    }
  ],
  "notes": "Please ensure safe packaging. Customer prefers evening delivery.",
  "total": 3300.00,
}

Response

✅ 201 Created

The order was successfully created.

Response Body

{
  "OID": "1002540015842"
}

❌ 400 Bad Request

The request was invalid (e.g., missing required fields).

Example Error

{
  "error": "Validation failed: 'products' field is required."
}

On this page