We’re thrilled to have you here. Our API is designed to provide seamless
integration and powerful functionality to help you achieve your goals. Whether
you’re building a new application, integrating an existing one, or just exploring what
our API can do, you’ll find everything you need right here.
We’ve added a new deliver_done flag to the following APIs and webhook 'Retrieve Orders' API,
'Retrieve Orders by IDs' API and the webhook.
This flag enables you to filter orders by their delivery status.
We’ve updated the webhook by adding new flags. The following flags have been introduced
'merchant_invoice_id', 'deliver_confirmed_fin' and 'has_merchant_fin_record' flags have been
added to the webhook.
For more details, please refer to the Flags in the 'Request Sample' in the webhook section.
We’ve introduced a powerful new API that allows you to create multiple orders in a single,
streamlined request.
This update simplifies the order creation process, enhancing efficiency and saving valuable
time when managing large volumes of orders.
check it out.
We've added a new webhook specifically for order status updates.
Now, you can automatically receive real-time updates whenever the status of an order changes
in our system.
check it out.
In the 'Create Order', 'Edit Order', 'Retrieve All Orders', and 'Retrieve Orders by IDs'
APIs,
a 'Company Order ID' field has been added. This allows
you to track which order ID in our system corresponds to the order ID in your system.
- Added clearer explanations for each endpoint, providing more detailed information on their
usage and expected responses.
- Clarified the authentication requirements for the Invoice API to ensure proper integration.
Response :
A list of cities in the format
[{id: 1, city_name: 'name'}].
Request Sample :
Query Parameters : No parameters
Request Body : No body
Response Sample :
Response body on success :
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data": [
{
"id": "1", the id of the city (string)
"city_name": "name" the text of the city (string)
}
]
}
Parameter :city_id
(int)
[Required] :
Specifies the city for which regions
are retrieved.
Response :
A list of regions within the specified city in the format
[{id: 1, region_name: 'name'}].
Request Sample :
Query Parameters :
"city_id":"ID"
Request Body: No body
Response Sample :
Response body on success:
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data": [
{
"id": "1", the id of the region (string)
"region_name": "name" the text of the region (string)
}
]
}
Response :
A list of available package sizes in the format
[{id: 1 ,size: 'name'}].
Request Sample :
Query Parameters : No parameters
QRequest Body : No body
Response Sample :
Response body on success :
{
"status": true,
"errNum": "S000", // On success "S000" will be returned "msg": "ok", // Success message
"data": [
{
"id": "1", the id of the package size (string)
"size": "name" the text of the package size (string)
}
]
}
After preparing all the order info (city-id, region-id, package-size, customer-phone, price,
client-name, location description etc.) you can proceed and submit your order-creation info
to the API.
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10
numbers
client_mobile2
(string)
[Optional] :
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10
numbers
city_id
(int)
[Required] :
ID of the client’s city (from the Cities API).
region_id
(int)
[Required] :
ID of the client’s region (from the Regions API).
location
(string)
[Required] :
Description of the client’s location.
type_name
(string)
[Required] :
Description of the type of goods in the order.
items_number
(int)
[Required] :
Number of items in the order.
price
(int)
[Required] :
Total price of the order, including delivery.
package_size
(int)
[Required] :
The size of the order package (from the Package Sizes API).
merchant_notes
(string)
[Optional] :
A general note or instruction about the order.
replacement
(0 or 1)
[Required] :
Specifies if the order is a replacement.
company_order_id
(string)
[Optional] * :
The order ID from the external company's system. This parameter
allows you to track which order ID in our system corresponds to the order ID in your
system.
* Note: This
parameter is [Required] if a Company Order ID prefix is
activated for the company.
The provided Order ID must begin with the registered prefix and must include the full
prefix as defined.
If you don't have a registered prefix and would like to add your own, please check this section.
Response :
On success : A success message and the order data.
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data": [
{
"client_name":"محمد" (the name of the client),
"client_mobile":"+9647704723599" (client phone number),
"client_mobile2":"+9647704723599"(client second phone number),
"city_id":"5" (the city id of the client),
"region_id":"2" (the region id of the client),
"merchant_mobile":"07704723599" (set from merchant info),
"items_number":"1" (number of items in the order),
"price":"25000" (price of the order including delivery fee),
"package_size":"1" (the size of the order),
"cash_fee":0 (set if order price exceeds 1'000'000 IQD),
"location":"market" (client delivery location description),
"merchant_id":"5" (set from merchant info),
"current_city":"1" (set automatically by the system),
"merchant_city":"1" (set from merchant info),
"company_price":4000 (the delivery fee of this order),
"city_fees":0 (set automatically by the system),
"merchant_price":21000 (the order price without delivery fee),
"type_name":"ملابس" (orders goods type),
"merchant_created_at":"2024-08-10 16:30:10" (set automatically by the system),
"merchant_notes":"عدم فتح القطعة" (set by the merchant),
"qr_id": 38799216 (the QR id of this order, thi will be the main identifier of the order),
"pickup_id": "1" (the pickup drier assigned to this order),
"pickup_created_at": "2024-08-10 04:30:10pm" (set automatically by the system),
"id": 38799216 (set automatically by the system),
"company_order_id":"123", (The order ID from the company's system.),
"qr_link": "https://agg-iq.net/operation/merchant/print-single-tcpdf?id=orderQr&token=merchantToken" (the receipt PDF link)
}
]
}
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10
numbers
client_mobile2
(string)
[Optional] :
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10 numbers
city_id
(int)
[Required] :
ID of the client’s city (from the Cities API).
region_id
(int)
[Required] :
ID of the client’s region (from the Regions
API).
location
(string)
[Required] :
Description of the client’s location.
type_name
(string)
[Required] :
Description of the type of goods in the
order.
items_number
(int)
[Required] :
Number of items in the order.
price
(int)
[Required] :
Total price of the order, including delivery.
package_size
(int)
[Required] :
The size of the order package (from the
Package Sizes API).
merchant_notes
(string)
[Optional] :
A general note or instruction about
the order.
replacement
(0 or 1)
[Required] :
Specifies if the order is a replacement.
company_order_id
(string)
[Optional] * :
The order ID from the external company's system. This parameter
allows you to track which order ID in our system corresponds to the order ID in your
system.
* Note: This
parameter is [Required] if a Company Order ID prefix is
activated for the company.
The provided Order ID must begin with the registered prefix and must include the full
prefix as defined.
If you don't have a registered prefix and would like to add your own, please check this section.
In scenarios where the order needs to be deleted and the order is still in the merchant's
possession, this endpoint provides the ability to do so.
Note : Order status must be equal to 1 (new order) to be deleted.
Now with your order being alive in our system. You might want to inquire about order
details/status.
To do so, the APIs below have been provided (basically returns a list of order(s) with their
status).
Alternatively
you can retrieve orders by their ids using this API.
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data": [
{
"client_name":"محمد", (name of the client)
"client_mobile":"+9647704723599", (client mobile number)
"items_number":"1", (number of items in this order)
"created_at":"2023-08-13 22:12:18", (the date and time of when the order was created)
"city_name":"بغداد", (city name of client)
"region_name":"شارع فلسطین", (region name of the client)
"status_id":"2", (the status id of the order)
"send_to_store": (0 OR 1 OR 2),
This flag is relevant when status_id = 23 (Returning to Returned Warehouse). It indicates the current stage of the return process:
0 – The order is still in the city warehouse.
1 – The order is in transit to the Baghdad warehouse.
2 – The order has been received at the Baghdad warehouse.
This flag is primarily used in the Resolve Returned Order API.
"deliver_done":(0 OR 1), (if 1 then the order has been delivered)
"status":"تم استلام الطلب من قبل المندوب", (the status text of the order)
"price":"20000", (the order price including delivery fee)
"old_price":"18000" OR -1, (the OLD order price including delivery fee, if it is set to -1 then the price did not change)
"location":"market", (the description of the client location)
"issue_notes":"لا یوجد", (a note written by the delivery driver when there is an issue with the order)
"merchant_notes":"لا یوجد", (a note written by the merchant)
"client_mobile2":"07", (client second mobile number)
"updated_at":"2024-06-22 11:28:53", (the last date and time the order data was updated)
"city_id":"13", (client city number)
"region_id":"1043", (client region number)
"replacement":"0", (indicate if the order is a replacement or not, 1 for replacement 0 for not)
"type_name":"ملابس", (order goodes type)
"id":"103", (order id)
"company_order_id": "123", (The order ID from the company's system.),
"has_merchant_fin_record": 0 OR 1, (indicates whether the merchant has requested accounting for the invoice this order is included in, 1 if the merchant has requsted accounting.)
"deliver_confirmed_fin":0 OR 1, (if 1 then the order has been delivered, and the company has received payment from the delivery driver. At this stage, the merchant is eligible to request accounting for this order.)
"delivery_price":"9000", (the delivery fee of this order)
"package_size":"عادي", (the order size)
"merchant_invoice_id":"-1" (the merchant invoice number, if the value is "-1" then this order is not included in a merchant invoice and the merchant can not request accounting for this order.)
}
]
}
Retrieve Specific Orders by IDs (batch)
Unlike the "Retrieve Orders" endpoint with returned all the orders, this endpoint allows you
to inquire about a specific id(s) by specifying them into a comma-separated string of order
IDs to retrieved.
The maximum number of ids to be retrieved is 25.
A comma-separated string of order IDs to retrieve.
A maximum of 25 IDs is allowed—any additional IDs beyond this limit will be discarded.
Response :
Details of the selected orders.
Request Sample :
Query Parameters :
"token":"token"
Request Body :
"ids":"11,23,75,29" (string of comma separated values, max 25 ids)
Response Sample :
Response body on success :
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data": [
{
"client_name":"محمد", (name of the client)
"client_mobile":"+9647704723599", (client mobile number)
"items_number":"1", (number of items in this order)
"created_at":"2023-08-13 22:12:18", (the date and time of when the order was created)
"city_name":"بغداد", (city name of client)
"region_name":"شارع فلسطین", (region name of the client)
"status_id":"2", (the status id of the order)
"send_to_store": (0 OR 1 OR 2),
This flag is relevant when status_id = 23 (Returning to Returned Warehouse). It indicates the current stage of the return process:
0 – The order is still in the city warehouse.
1 – The order is in transit to the Baghdad warehouse.
2 – The order has been received at the Baghdad warehouse.
This flag is primarily used in the Resolve Returned Order API.
"deliver_done":(0 OR 1), (if 1 then the order has been delivered)
"status":"تم استلام الطلب من قبل المندوب", (the status text of the order)
"price":"20000", (the order price including delivery fee)
"old_price":"18000" OR -1, (the OLD order price including delivery fee, if it is set to -1 then the price did not change)
"location":"market", (the description of the client location)
"issue_notes":"لا یوجد", (a note written by the delivery driver when there is an issue with the order)
"merchant_notes":"لا یوجد", (a note written by the merchant)
"client_mobile2":"07", (client second mobile number)
"updated_at":"2024-06-22 11:28:53", (the last date and time the order data was updated)
"city_id":"13", (client city number)
"region_id":"1043", (client region number)
"replacement":"0", (indicate if the order is a replacement or not, 1 for replacement 0 for not)
"type_name":"ملابس", (order goodes type)
"id":"103", (order id)
"company_order_id": "123", (The order ID from the company's system.),
"has_merchant_fin_record": 0 OR 1, (indicates whether the merchant has requested accounting for the invoice this order is included in, 1 if the merchant has requsted accounting.)
"deliver_confirmed_fin":0 OR 1, (if 1 then the order has been delivered, and the company has received payment from the delivery driver. At this stage, the merchant is eligible to request accounting for this order.)
"delivery_price":"9000", (the delivery fee of this order)
"package_size":"عادي", (the order size)
"merchant_invoice_id":"-1" (the merchant invoice number, if the value is "-1" then this order is not included in a merchant invoice and the merchant can not request accounting for this order.)
}
]
}
In some cases, orders may encounter issues during delivery. These orders are handled by our
team, but you can retrieve a list of them using this API. If you prefer to resolve the
issues yourself, you can use the Resolve Order API.
Your merchants can now resolve order issues using the following API.
This API allows them to provide an order ID and the new customer phone number, and it will
reset the order status to 'On its way to the client'.
Note: The issue can only be resolved once the order is
with the delivery driver. If the order is returned to the warehouse, it cannot be resolved.
Instead of returning the order to the original merchant, you can use this API to resend the
order to a new or the same client.
This endpoint functions similarly to the Edit Order API, with the key difference being that
it only supports orders currently in specific statuses.
Allowed Status IDs:
12 – In province warehouse
13 – In Baghdad warehouse
15 – Returned to merchant
44 – Sent to sorting center for resending
Ensure the order is in one of the above statuses before attempting to use this API.
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10
numbers
client_mobile2
(string)
[Optional] :
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10 numbers
city_id
(int)
[Required] :
ID of the client’s city (from the Cities API).
region_id
(int)
[Required] :
ID of the client’s region (from the Regions
API).
location
(string)
[Required] :
Description of the client’s location.
type_name
(string)
[Required] :
Description of the type of goods in the
order.
items_number
(int)
[Required] :
Number of items in the order.
price
(int)
[Required] :
Total price of the order, including delivery.
package_size
(int)
[Required] :
The size of the order package (from the
Package Sizes API).
merchant_notes
(string)
[Optional] :
A general note or instruction about
the order.
replacement
(0 or 1)
[Required] :
Specifies if the order is a replacement.
company_order_id
(string)
[Optional] * :
The order ID from the external company's system. This parameter
allows you to track which order ID in our system corresponds to the order ID in your
system.
* Note: This
parameter is [Required] if a Company Order ID prefix is
activated for the company.
The provided Order ID must begin with the registered prefix and must include the full
prefix as defined.
If you don't have a registered prefix and would like to add your own, please check this section.
Several APIs are available for managing merchant invoices:
Authentication Requirements for Invoice APIs
To use the Invoice APIs, only the Merchant token is accepted for authentication. If a
Merchant user token is used instead, an authentication error will be returned.
Please ensure that the correct token is used to avoid authentication issues.
To inquire about invoices, you can use the get merchant invoices API and retrieve invoices.
Then get invoice orders from the following APIs.
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data": [
{
"id": "3", (invoice id)
"merchant_price": "170000", (total price to be received from this invoice)
"delivered_orders_count": "7", (number of delivered orders for this invoice)
"replacement_delivered_orders_count": "0", (number of replacement delivered orders)
"status": "تم الاستلام من قبل التاجر", (invoice status text)
"merchant_id": "5", (merchant id)
"updated_at": "2023-12-20 17:01:46" (last date and time the invoice was updated)
}
]
}
Returns all orders associated with a particular invoice.
Request Sample :
Query Parameters :
"token":"token"
"invoice_id":"ID"
Request Body : No body
Response Sample :
Response body on success :
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "ok", // Success message
"data":
"invoice" : [
{
"id": "3", (invoice id)
"merchant_price": "170000", (total price to be received from this invoice)
"delivered_orders_count": "7", (number of delivered orders for this invoice)
"replacement_delivered_orders_count": "0", (number of replacement delivered orders)
"status": "تم الاستلام من قبل التاجر", (invoice status text)
"merchant_id": "5", (merchant id)
"updated_at": "2023-12-20 17:01:46" (last date and time the invoice was updated)
}
]
"orders" : [
{
"client_name":"محمد", (name of the client)
"client_mobile":"+9647704723599", (client mobile number)
"items_number":"1", (number of items in this order)
"created_at":"2023-08-13 22:12:18", (the date and time of when the order was created)
"city_name":"بغداد", (city name of client)
"region_name":"شارع فلسطین", (region name of the client)
"status_id":"2", (the status id of the order)
"status":"تم استلام الطلب من قبل المندوب", (the status text of the order)
"price":"20000", (the order price including delivery fee)
"old_price":"18000" OR -1, (the OLD order price including delivery fee, if it is set to -1 then the price did not change)
"location":"market", (the description of the client location)
"issue_notes":"لا یوجد", (a note written by the delivery driver when there is an issue with the order)
"merchant_notes":"لا یوجد", (a note written by the merchant)
"client_mobile2":"07", (client second mobile number)
"updated_at":"2024-06-22 11:28:53", (the last date and time the order data was updated)
"city_id":"13", (client city number)
"region_id":"1043", (client region number)
"replacement":"0", (indicate if the order is a replacement or not, 1 for replacement 0 for not)
"type_name":"ملابس", (order goodes type)
"id":"103", (order id)
"delivery_price":"9000", (the delivery fee of this order)
"package_size":"عادي", (the order size)
"merchant_invoice_id":"8" (the merchant invoice number)
}
]
}
When the invoice is sent to the merchant he has to confirm the receipt by scanning the
invoice's QR-code via the merchant-app.
Alternatively, the invoice can be confirmed (received) by the API below.
This API allows the merchant to resend a returning order with a new customer phone number.
The order status must be
Send to Returns Warehouse (status ID = 23) AND the
send_to_store = 0
to be eligible for resending. Only the customer phone number can be changed — the
destination address must remain the same.
While the previous endpoints were designed to handle
the orders on the merchant level, this set of API endpoints is designed to provided merchant(s)
management i.e., to enable the aggregator to handle his merchant(s).
01
Login Endpoint :
All aggre APIs requier an authentication token to be included in the request parameters,
username and password are submitted to the endpoint, aggregator token is returned.
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "Done Successfully.", // Success message
"data": {
"merchant_id": 123 // the created merchant ID (int)
"token": "merchantToken" // the created merchant token (string)
}
}
In certain situations, you may need to quickly create multiple orders for different
merchants.
With this API, you can send a JSON array string containing the orders data, and you'll
receive a response that provides success and error messages for each individual order.
Please provide a JSON string with the order data. Note that each
request can include a maximum of 30 orders, so make sure not to exceed this limit.
With the current limits, you can create up to 900 orders every 30 seconds — this is based on a rate limit of 30 requests per 30 seconds, with each request allowing up to 30 orders.
The order data should contain the following keys and values.
client_name
(string)
[Required] :
Name of the client.
client_mobile
(string)
[Required] :
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10
numbers
client_mobile2
(string)
[Required] :
The client’s mobile number. Must be
in this format “+9647000000000“, iraq country code followed by 10
numbers
city_id
(int)
[Required] :
ID of the client’s city (from the Cities API).
region_id
(int)
[Required] :
ID of the client’s region (from the Regions API).
location
(string)
[Required] :
Description of the client’s location.
type_name
(string)
[Required] :
Description of the type of goods in the order.
items_number
(int)
[Required] :
Number of items in the order.
price
(int)
[Required] :
Total price of the order, including delivery.
package_size
(int)
[Required] :
The size of the order package (from the Package Sizes API).
merchant_notes
(string)
[Required] :
A general note or instruction about the order.
replacement
(0 or 1)
[Required] :
Specifies if the order is a replacement.
merchant_id
(int)
[Required] :
Merchant ID associated with this order.
company_order_id
(string)
[Optional] * :
The order ID from the external company's system. This parameter
allows you to track which order ID in our system corresponds to the order ID in
your
system.
* Note:
This parameter is [Required] if a Company Order ID prefix
is activated for the company.
The provided Order ID must begin with the registered prefix and must include the
full prefix as defined.
If you don't have a registered prefix and would like to add your own, please check this section.
metadata
(string)
[Optional] :
The metadata includes any information that helps you identify the order more
easily.
It is not part of the order creation data, but it will be returned in the
response as the same string.
Response :
On success : There will be two arrays: one containing all the successfully created orders
and the other with the failed orders.
Each failed order will include a "failed" variable that
holds the error message explaining the failure.
{
"status": true,
"errNum": "S000", // On success "S000" will be returned
"msg": "Done Successfully.", // Success message
"data": {
"succeed": [], // an array with all the successfuly created orders
"failed": [] // an array with all the filed orders with an error message for each order
}
}
To print stickers for your orders, you can send the order ID(s) to this endpoint, and it
will generate a PDF file containing the stickers for the order(s) and return a link to that
file.
At our company, we understand the importance of
real-time updates and seamless integration between systems. That's why we offer webhooks as a
powerful feature to keep your system automatically in sync with key events in our platform.
With webhooks, you no longer need to constantly check for updates. Instead, we’ll send real-time
updates directly to your system whenever specific events occur, such as changes to an order’s
status. This allows your system to react immediately, whether it’s updating databases,
triggering workflows, or sending notifications, all without manual intervention.
By leveraging webhooks, you can streamline your processes, reduce overhead, and ensure that your
system stays up-to-date with minimal effort. In this section, we’ll walk you through how to
configure and use our webhooks to receive order status updates, so you can take advantage of
this feature for a more efficient and automated experience.
01
Order Status Update :
This web Hook sends updates regarding order status changes to the API endpoint you provide.
The updates are triggered whenever an order transitions through different stages.
You'll need to provide the API endpoint URL where we should send the order status update
data. The webhook will send a POST request with the status update data to this URL.
URL :
The order status update information will be sent to the API endpoint that you provided.
Method :
POST
Content-Type :
application/json
Purpose :
To automatically send updates about order status changes to your system.
Key Points :
Max Failed Attempts Limit: If an update fails 4 times, it will be marked as failed
and will not be retried.
Request Timeout: If a request does not receive a response within 3 seconds, it will be marked as
failed.
Authentication Token: You can provide an authentication token to be
included in the request headers. Share the token and header name with our system
administrator in the following format: "auth-key-name:token"
Data Retention:
Successful requests: Logs will be deleted 3 days after they are sent.
Failed requests: Logs will be deleted 21 days after they are sent.
Request Samples :
Headers: If an authentication token is provided, it will be included in the request headers.
Query Parameters : No parameters
Request Body :
{
"client_name":"محمد", (name of the client)
"client_mobile":"+9647712345678", (client mobile number)
"items_number":"1", (number of items in this order)
"created_at":"2023-08-13 22:12:18", (the date and time of when the order was created)
"city_name":"بغداد", (city name of client)
"region_name":"شارع فلسطین", (region name of the client)
"status_id":"2", (the status id of the order)
"send_to_store": (0 OR 1 OR 2),
This flag is relevant when status_id = 23 (Returning to Returned Warehouse). It indicates the current stage of the return process:
0 – The order is still in the city warehouse.
1 – The order is in transit to the Baghdad warehouse.
2 – The order has been received at the Baghdad warehouse.
This flag is primarily used in the Resolve Returned Order API.
"deliver_done":(0 OR 1), (if 1 then the order has been delivered)
"status":"تم استلام الطلب من قبل المندوب", (the status text of the order)
"price":"20000", (the order price including delivery fee)
"old_price":"18000" OR -1, (the OLD order price including delivery fee, if it is set to -1 then the price did not change)
"location":"market", (the description of the client location)
"issue_notes":"لا یوجد", (a note written by the delivery driver when there is an issue with the order)
"merchant_notes":"لا یوجد", (a note written by the merchant)
"client_mobile2":"+9647712345678", (client second mobile number)
"updated_at":"2024-06-22 11:28:53", (the last date and time the order data was updated)
"city_id":"13", (client city number)
"region_id":"1043", (client region number)
"replacement":"0", (indicate if the order is a replacement or not, 1 for replacement 0 for not)
"type_name":"ملابس", (order goodes type)
"id":"103", (order id)
"company_order_id": "123", (The order ID from the company's system.)
"has_merchant_fin_record": 0 OR 1, (indicates whether the merchant has requested accounting for the invoice this order is included in, 1 if the merchant has requsted accounting.)
"deliver_confirmed_fin":0 OR 1, (if 1 then the order has been delivered, and the company has received payment from the delivery driver. At this stage, the merchant is eligible to request accounting for this order.)
"delivery_price":"9000", (the delivery fee of this order)
"package_size":"عادي" (the order size)
"merchant_invoice_id":"-1" (the merchant invoice number, if the value is "-1" then this order is not included in a merchant invoice and the merchant can not request accounting for this order.)
}
Additional Info :
Price Change:
In some cases, the order price may change while the status remains unchanged.
This indicates the full order is being delivered at a new price (not due to a return).
A price change can be detected when the status is "With delivery driver" (3) and the old
price is not -1.
Using Company Order ID in Our System :
You can now use your own company-specific order IDs within our system, subject to certain
conditions. This feature enables better alignment between your internal systems and our order
processing workflow. It also allows your company to use its own order manifest (order
information sticker) when delivering orders.
Requirements for Order ID Prefix:
To enable this feature, you must first register a unique order ID prefix that adheres to the
following rules:
The prefix must consist of at least three letters and be unique in our system.
The prefix must not contain any special characters except for an underscore (_).
The prefix must not contain any spaces.
The prefix letters must be capital letters.
The prefix must not contain any Numbers.
The prefix must not contain any Arabic letters.
examples for the accepted format: ABC1000, ABC_1000.
How to Register Your Order ID Prefix:
To register your order ID prefix:
Contact our customer service team.
Provide the prefix you want to use.
Once approved and registered, the prefix will be associated with your account.
After Registration:
Once your prefix is registered, the Company Order ID field becomes required in the order
creation APIs.
All submitted Company Order IDs must begin with your registered prefix.
This setup ensures proper tracking and uniqueness of orders from different clients.