Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
customers.read - Customers Readcurl --location --request GET 'https://api.zid.sa/v1/managers/store/customers/37' \
--header 'Authorization: {{Autherization}}' \
--header 'X-Manager-Token: {{Access-Token}}' \
--header 'Accept-Language: en'{
"status": "string",
"customer": {
"id": 0,
"name": "string",
"email": "string",
"mobile": "string",
"gender": "string",
"birth_date": "string",
"verified": true,
"is_active": true,
"is_cod_enabled": true,
"type": "string",
"business_name": null,
"tax_number": null,
"commercial_registration": null,
"source": null,
"points": {
"id": "string",
"external_id": "string",
"store_id": "string",
"customer_id": 0,
"loyalty_provider": "string",
"points": 0,
"pending_points": 0,
"total_positive_points": 0,
"total_negative_points": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null,
"pending_negative_points": 0,
"status": 0
},
"order_total_payments": "string",
"last_order_date": "string",
"created_at": "string",
"updated_at": "string",
"city": {
"id": 0,
"national_id": 0,
"name": "string",
"priority": 0,
"country_id": 0,
"country_name": "string",
"country_code": "string",
"ar_name": "string",
"en_name": "string"
},
"nickname": "string",
"pivotEmail": "string",
"pivotMobile": "string",
"order_counts": 0,
"total_payments": 0,
"orders_cost_average": 0,
"orders": [
{
"id": 0,
"invoice_number": 0,
"code": "string",
"store_id": 0,
"order_url": "string",
"store_name": "string",
"shipping_method_code": "string",
"store_url": "string",
"order_status": {
"name": "string",
"code": "string"
},
"display_status": {
"id": 0,
"code": "string",
"color": "string",
"name": "string"
},
"currency_code": "string",
"customer": {
"id": 0,
"name": "string",
"email": "string",
"mobile": "string",
"note": "string",
"verified": 0,
"type": "string"
},
"has_different_consignee": 0,
"is_guest_customer": 0,
"is_gift_order": 0,
"gift_card_details": null,
"is_quick_checkout_order": true,
"order_total": "string",
"order_total_string": "string",
"has_different_transaction_currency": true,
"transaction_reference": null,
"transaction_amount": 0,
"transaction_amount_string": "string",
"issue_date": "string",
"payment_status": "string",
"is_potential_fraud": true,
"source": "string",
"source_code": "string",
"is_reseller_transaction": true,
"created_at": "string",
"updated_at": "string",
"is_on_demand": true,
"import_id": null,
"tags": [
"string"
],
"requires_shipping": true,
"should_merchant_set_shipping_method": true,
"shipping": {
"method": {
"id": 0,
"name": "string",
"code": "string",
"estimated_delivery_time": "string",
"icon": "string",
"is_system_option": true,
"waybill": null,
"had_errors_while_fetching_waybill": true,
"waybill_tracking_id": null,
"has_waybill_and_packing_list": true,
"tracking": {
"number": null,
"status": null,
"url": null
},
"courier": {
"name": {
"ar": "string",
"en": "string"
},
"code": "string",
"logo": "string",
"identifier": "string"
},
"return_shipment": null,
"packages_count": 0,
"order_shipping_status": "string",
"inventory_address": [
"string"
]
},
"address": {
"formatted_address": "string",
"street": "string",
"district": "string",
"lat": 0,
"lng": 0,
"short_address": null,
"meta": {
"buyer": {
"name": "string",
"type": "string",
"email": "string",
"telephone": "string"
},
"city_name": "string",
"postcode": "string",
"building_number": "string",
"additional_number": "string"
},
"city": {
"id": 0,
"name": "string"
},
"country": {
"id": 0,
"name": "string"
}
}
},
"payment": {
"method": {
"name": "string",
"code": "string",
"type": "string"
}
},
"cod_confirmed": true,
"reverse_order_label_request": {},
"reverse_order_label_requests": [
{}
]
}
]
},
"message": {
"type": "object",
"code": "string",
"name": "string",
"description": "string"
}
}