本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
{
"page": "string",
"order": {
"id": 0,
"cart_reference_id": 0,
"reference_id": 0,
"urls": {
"customer": "https://salla.sa/StoreLink",
"admin": "https://s.salla./YourStoreDashboard"
},
"date": {
"date": "2019-08-24T14:15:22Z",
"timezone_type": 0,
"timezone": "string"
},
"updated_at": {
"date": "2019-08-24T14:15:22Z",
"timezone_type": 0,
"timezone": "string"
},
"source": "store",
"draft": true,
"read": true,
"source_device": "string",
"source_details": {
"type": "string",
"value": "string",
"device": "string",
"user-agent": "string",
"ip": "string"
},
"status": {
"id": 863076598,
"name": "في انتظار الدفع",
"slug": "payment_pending",
"customized": {
"id": 0,
"name": "string"
}
},
"is_price_quote": true,
"payment_method": "string",
"receipt_image": "string",
"currency": "string",
"amounts": {
"sub_total": {
"amount": 0,
"currency": "string"
},
"shipping_cost": {
"amount": 0,
"currency": "string"
},
"cash_on_delivery": {
"amount": 0,
"currency": "string"
},
"tax": {
"percent": "string",
"amount": {
"amount": 0,
"currency": "string"
}
},
"discounts": [
{
"title": "string",
"type": "string",
"code": "string",
"discount": "string",
"discounted_shipping": 0
}
],
"total": {
"amount": 0,
"currency": "string"
}
},
"exchange_rate": {
"base_currency": "SAR",
"exchange_currency": "USD",
"rate": 3.75
},
"can_cancel": true,
"show_weight": true,
"can_reorder": true,
"is_pending_payment": true,
"pending_payment_ends_at": 0,
"total_weight": "string",
"rating_link": "string",
"shipping": {
"id": 0,
"app_id": 0,
"shipping_details_id": "string",
"company": "string",
"logo": "string",
"receiver": {
"name": "string",
"email": "string",
"phone": "string"
},
"shipper": {
"name": "string",
"company_name": "string",
"email": "string",
"phone": "string"
},
"pickup_address": {
"country": "string",
"country_code": "string",
"city": "string",
"shipping_address": "string",
"street_number": "string",
"block": "string",
"postal_code": "string",
"geo_coordinates": {
"lat": 0,
"lng": 0
}
},
"address": {
"country": "string",
"country_code": "string",
"city": "string",
"shipping_address": "string",
"street_number": "string",
"block": "string",
"postal_code": "string",
"geo_coordinates": {
"lat": 0,
"lng": 0
}
},
"shipment": {
"id": 0,
"pickup_id": 0,
"tracking_link": "string",
"label": [
{
"format": "string",
"url": "string"
}
]
},
"policy_options": [
{
"boxes": "string"
}
]
},
"shipments": [
{
"id": "5396365553",
"created_at": "string",
"type": "shipment",
"courier_id": 665151403,
"courier_name": "أي مكان",
"courier_logo": "https://logo.com/shipping/aymakan.png",
"shipping_number": "0",
"tracking_number": "0",
"pickup_id": 0,
"trackable": true,
"tracking_link": "https://aymakan.com.sa/ar/tracking/0",
"label": {
"format": "string",
"url": "string"
},
"payment_method": "cod",
"source": "string",
"total": {
"amount": "string",
"currency": "string"
},
"cash_on_delivery": {
"amount": "string",
"currency": "string"
},
"ship_to": {
"type": "address",
"name": "Username",
"email": "username@gmail.com",
"phone": "96652318526",
"country": "SA",
"country_id": 0,
"country_code": "SA",
"city": "جدة",
"city_id": 0,
"address_line": "شارع Makkah, Makkah، الحي NEW YORK 11434،, Makkah, Makkah,, جدة, السعودية",
"street_number": "Makkah, Makkah",
"block": "NEW YORK",
"postal_code": "11414",
"latitude": 40.6413111,
"longitude": -73.7781391
},
"ship_from": {
"type": "branch",
"name": "المستودع الرئيسي",
"company_name": "Routine",
"email": "companyuser@gmail.com",
"phone": "96652318526",
"country": "السعودية",
"country_id": "48587334",
"country_code": "SA",
"city": "Riyadh",
"city_id": 92384793,
"address_line": "3481,السلي,62465, 3481، السلي، الرياض 14322 7487، السعودية, Riyadh,السعودية",
"street_number": "3481",
"block": "السلي",
"postal_code": "62",
"latitude": 18.2952212,
"longitude": 42.755331,
"branch_id": 1790435930
},
"total_weight": {
"value": 8.052,
"units": "kg"
},
"packages": [
{
"item_id": 2077288690,
"external_id": 909112677,
"name": "Package 1",
"sku": "SKU-123-456",
"price": {
"amount": 200,
"currency": "sar"
},
"quantity": 2,
"weight": {
"value": 2,
"units": "kg"
},
"options": [
{
"name": "string",
"values": [
{
"name": "string",
"price": {
"amount": "string",
"currency": "string"
},
"value": "string"
}
]
}
]
}
],
"is_international": false,
"meta": {
"app_id": "944213936",
"policy_options": {
"boxes": "1",
"dimensions": {
"length": "2",
"width": "1",
"height": "1"
}
}
}
}
],
"pickup_branch": {
"id": 0,
"name": "string",
"status": "active",
"location": {
"lat": "string",
"lng": "string"
},
"street": "string",
"address_description": "string",
"additional_number": "string",
"building_number": "string",
"local": "string",
"postal_code": "string",
"contacts": {
"phone": "string",
"whatsapp": "string",
"telephone": "string"
},
"preparation_time": "string",
"is_open": true,
"closest_time": "string",
"working_hours": [
{
"name": "string",
"times": [
{
"from": "string",
"to": "string"
}
]
}
],
"is_cod_available": true,
"is_default": true,
"type": "branch",
"cod_cost": "string",
"country": {
"id": 0,
"name": "string",
"name_en": "string",
"code": "string",
"mobile_code": "string"
},
"city": {
"id": 0,
"name": "string",
"name_en": "string"
}
},
"shipment_branch": {
"id": 0,
"name": "string",
"status": "string",
"is_default": true,
"type": "string"
},
"customer": {
"id": 0,
"first_name": "string",
"last_name": "string",
"mobile": 0,
"mobile_code": "string",
"email": "user@example.com",
"urls": {
"customer": "https://salla.sa/StoreLink",
"admin": "https://s.salla./YourStoreDashboard"
},
"avatar": "string",
"gender": "male",
"birthday": {
"date": "2019-08-24T14:15:22Z",
"timezone_type": 0,
"timezone": "string"
},
"city": "string",
"country": "string",
"country_code": "string",
"currency": "string",
"location": "string",
"updated_at": {
"date": "2019-08-24T14:15:22Z",
"timezone_type": 0,
"timezone": "string"
},
"groups": [
0
]
},
"items": [
{
"id": 0,
"name": "string",
"sku": "string",
"quantity": 0,
"currency": "string",
"weight": 0,
"weight_label": "string",
"amounts": {
"price_without_tax": {
"amount": 0,
"currency": "string"
},
"total_discount": {
"amount": 0,
"currency": "string"
},
"tax": {
"percent": "string",
"amount": {
"amount": 0,
"currency": "string"
}
},
"total": {
"amount": 0,
"currency": "string"
}
},
"notes": "string",
"product": {
"id": 0,
"type": "product",
"promotion": {
"title": "string",
"sub_title": "string"
},
"status": "string",
"is_available": true,
"sku": "string",
"name": "string",
"price": {
"amount": 0,
"currency": "string"
},
"sale_price": {
"amount": 0,
"currency": "string"
},
"url": "string",
"has_special_price": true,
"regular_price": {
"amount": 0,
"currency": "string"
},
"currency": "string",
"thumbnail": "string",
"calories": "string",
"mpn": "string",
"gtin": "string",
"favorite": "string",
"starting_price": "string"
},
"options": [
{
"id": 0,
"product_option_id": 0,
"name": "string",
"type": "adio",
"value": [
{
"id": 0,
"name": "string",
"price": {
"amount": 0,
"currency": "string"
}
}
]
}
],
"images": [
{
"id": 0,
"image": "string",
"type": "string"
}
],
"codes": [
{
"code": "string",
"status": "string"
}
],
"files": [
{
"url": "string",
"name": "string",
"size": 0
}
],
"reservations": "string",
"product_reservations": [
"string"
]
}
],
"bank": {
"id": 0,
"bank_name": "string",
"bank_id": 0,
"account_name": "string",
"account_number": "string",
"iban_number": "string",
"status": "string"
},
"tags": {
"id": 0,
"name": "string"
},
"store": {
"id": "string",
"store_id": "string",
"user_id": "string",
"user_email": "string",
"username": "string",
"name": {
"ar": "string",
"en": "string"
},
"avatar": "string"
}
},
"thank_you": "string",
"share_message": "string",
"short_share_message": "string"
}