Order
Some webhook payloads may include
placeholder email
addresses that are not deliverable
. These addresses are operational placeholders and will not reach customers.Order
id
integer
optional
Example:
25304285
code
string
optional
Example:
8OVNEhyqcf
store_id
integer
optional
Example:
251073
order_url
string
optional
Example:
https://zid.store/osama/o/6IJWXOYLuR/inv
store_name
string
optional
Example:
Osama's Store
shipping_method_code
string
optional
Example:
custom
store_url
string
optional
Example:
https://zid.store/osama/
order_status
object (OrderStatus)
optional
name
string
required
Example:
Delivery in progress
code
enum<string>
required
1.
new
: The order has been recently created.2.
failed
: The order transaction failed.3.
refunded
: The order has been refunded (typically by the merchant).4.
reversed
: The order payment has been reversed (typically by the payment provider or the bank).5.
chargeback
: A chargeback has been initiated for the order.6.
expired
: The order has expired due to non-payment.7.
processed
: The order has been processed.8.
voided
: The order has been voided.9.
ready
: The order is ready for shipment.10.
reverse_in_progress
: The order is in the process of being reversed.11.
preparing
: The order is being prepared for shipment.12.
indelivery
: The order is currently in delivery.13.
delivered
: The order has been delivered.14.
canceled
: The order has been canceled.15.
denied
: The order has been denied.16.
canceledReversal
: The reversal of the order has been canceled.Allowed values:
newfailedrefundedreversedchargebackexpiredprocessedvoidedreadyprocessingReversepreparinginDeliverydeliveredcanceleddeniedcanceledReversal
Example:
delivered
currency_code
string
optional
Example:
KWD
is_marketplace_order
boolean
optional
Default:
false
customer
object (OrderCustomer)
optional
id
string
required
Example:
2083543
name
string
optional
Example:
Osama
email
string
optional
Example:
example.user@email.com
mobile
string
optional
Example:
+966501234567
note
string
optional
Example:
" "
verified
string
required
Example:
1
type
string
required
Example:
individual
shipping
object (OrderShipping)
optional
method
object (OrderShippingMethod)
optional
address
object (OrderShippingAddress)
optional
products
object
optional
is_external_product
boolean
optional
Default:
true
id
null
optional
parent_id
null
optional
parent_name
string
optional
Example:
سماعات بلوتوث
sku
string
required
Example:
Z.3.1726750799757576
barcode
null
required
custom_fields
array[string]
required
quantity
string
optional
Example:
2
weight
string
optional
Example:
150
net_price_with_additions
string
optional
Example:
50
price_with_additions
string
optional
Example:
55
net_sale_price
null
required
gross_sale_price
null
required
price_before
null
required
total_before
null
required
gross_additions_price
null
required
tax_percentage
string
required
Example:
0.12
tax_amount_string_per_item
string
required
Example:
0.000 KWD
images
array[string]
required
has_different_consignee
boolean
optional
Example:
false
is_guest_customer
boolean
optional
Example:
false
is_gift_order
boolean
optional
Example:
false
gift_card_details
object
optional
card_design
string
optional
Example:
Birthday Theme
gift_message
string
optional
Example:
Happy Birthday, Ahmed! Wishing you all the best.
media_link
string
optional
Example:
https://example.com/gift_card_image.jpg
receiver_name
string
optional
Example:
Ahmed Al-Salem
sender_name
string
optional
Example:
Fatima Al-Rashed
is_quick_checkout_order
boolean
required
Default:
false
order_total
string
optional
Example:
6.00000000000000
order_total_string
string
optional
Example:
6.00 KWD
has_different_transaction_currency
boolean
optional
Example:
true
transaction_reference
string
optional
Example:
TRN-123456
transaction_amount
number
optional
Example:
60
transaction_amount_string
string
optional
Example:
60.00 SAR
issue_date
string
optional
Example:
04-07-2023 | 12:12 م
payment_status
enum<string>
optional
1.
paid
: Payment has successfully completed.2.
pending
: Payment is still pending or hasn't been made yet.3.
refunded
: Payment has been refunded to the Customer.4.
voided
: Payment has been voided or canceled.Allowed values:
paidpendingrefundedvoided
Example:
paid
is_potential_fraud
boolean
required
Default:
false
payment_status_change
object
optional
by specifiying the previous (
old
) and the updated (new
) payment statuses.This field is particularly relevant for webhook events like
order.payment_status.update
.The
new
status will be paid
for successful payments.The
unpaid
status represents any payment status other than paid
,including
pending
, refunded
, and voided
.This categorization aligns with the merchant's view of payment statuses
on the Merchant Dashboard.
old
enum<string>
optional
Allowed values:
paidunpaid
new
enum<string>
optional
Allowed values:
paidunpaid
source
enum<string>
optional
Allowed values:
MazeedMazeed ServicesMerchant AdminOrder ApiStoreStore AppZidPOSOthers
Example:
Store
source_code
enum<string>
optional
Allowed values:
poscatalogmdmazeedmazeed_marketplacemobile_appapi
Example:
catalog
is_reseller_transaction
boolean
optional
Example:
false
created_at
string
optional
Example:
2023-07-04 09:12:36
updated_at
string
optional
Example:
2023-07-04 09:14:28
is_on_demand
boolean
required
Default:
false
tags
array[string]
optional
requires_shipping
boolean
optional
Example:
true
should_merchant_set_shipping_method
boolean
required
Default:
false
payment
object (OrderPayment)
optional
method
object (OrderPaymentMethod)
optional
invoice
array[object (InvoiceDetail) {4}]
optional
cod_confirmed
boolean
optional
Example:
false
reverse_order_label_request
string | null
optional
Example:
null
customer_note
string | null
optional
Example:
أحتاج تغليف هدية
gift_message
string | null
optional
Example:
كل عام وأنتم بخير
payment_link
string | null
optional
Example:
https://payment.example.sa/order/123456
weight
number
optional
Example:
500
weight_cost_details
object
optional
weight_total
integer
optional
Example:
150
weight_total_string
string
optional
Example:
150 gm
cost
string
optional
Example:
1.000 KWD
cost_string
string
optional
Example:
1 KWD
currency
object (OrderCurrency)
optional
order_currency
object
optional
order_store_currency
object
optional
options
array[string]
required
coupon
string
optional
Example:
SUMMER20
products_count
integer
optional
Example:
1
products_sum_total_string
string
optional
Example:
30.00 SAR
language
string
optional
Example:
ar
histories
array[object (OrderHistory) {8}]
optional
order_status_id
enum<integer>
optional
1.
1
: Corresponds to new
(The order has been recently created).2.
2
: Corresponds to preparing
(The order is being prepared for shipment).3.
3
: Corresponds to inDelivery
.4.
5
: Corresponds to delivered
.5.
7
: Corresponds to canceled
.6.
12
: Corresponds to reversed
(The order payment has been reversed).7.
17
: Corresponds to ready
(The order is ready for shipment).8.
18
: Corresponds to processingReverse
(The order is in the process of being reversed).OrderStatus
schema.Allowed values:
12357121718
order_status_name
string
optional
Example:
جديد
changed_by_id
integer
optional
Example:
37
changed_by_type
string
optional
Example:
عميل
changed_by_details
object
optional
comment
string
optional
Example:
تم إنشاء الطلب .
created_at
string <date-time>
optional
Example:
2023-07-04 09:12:36
humanized_created_at
string
optional
Example:
منذ شهر
is_reactivated
boolean
optional
Example:
false
return_policy
string
optional
Example:
Returns are accepted within 14 days of receipt.
packages_count
integer
optional
Example:
1
inventory_address
string
optional
Example:
123 King Fahd Road, Al Olaya, Riyadh 12212, Saudi Arabia
expected_shipping_method_type
null
required
reseller_meta
string | null
optional
Example:
null
zidship_ticket_number
null
required
edits_count
string
required
Example:
0
delivered_at
null
required
invoice_link
string
required
Example:
https://zid-testing-907587157081.s3-accelerate.amazonaws.com/pdf/order_44834593.pdf
previous_order
integer
optional
Example:
23874634
next_order
integer | null
optional
Example:
null
invoice_settings
object
optional
is_order_notifications_enabled
boolean
optional
Example:
true
comment
string
optional
Example:
This is a VIP customer. Handle with extra care.
Modified at 2025-02-13 13:13:12