Skip to content

Instantly share code, notes, and snippets.

@pmakokluev
Created June 7, 2022 06:05
Show Gist options
  • Select an option

  • Save pmakokluev/c09415e24e93814221bd9c2305965dde to your computer and use it in GitHub Desktop.

Select an option

Save pmakokluev/c09415e24e93814221bd9c2305965dde to your computer and use it in GitHub Desktop.
Пример заказа Ozon по схеме DBS
array:1 [
0 => array:19 [
"posting_number" => "60042159-0004-1"
"order_id" => 713172930
"order_number" => "60042159-0004"
"status" => "awaiting_packaging"
"delivery_method" => array:6 [
"id" => 159178
"name" => "Наша логистика"
"warehouse_id" => 23241524065000
"warehouse" => "доставка своими силами по Екб"
"tpl_provider_id" => -1
"tpl_provider" => "Самостоятельно"
]
"tracking_number" => ""
"tpl_integration_type" => "non_integrated"
"in_process_at" => "2022-06-06T06:00:31Z"
"shipment_date" => "2022-06-07T10:00:00Z"
"delivering_date" => null
"cancellation" => array:6 [
"cancel_reason_id" => 0
"cancel_reason" => ""
"cancellation_type" => ""
"cancelled_after_ship" => false
"affect_cancellation_rating" => false
"cancellation_initiator" => ""
]
"customer" => array:5 [
"customer_id" => 60042159
"customer_email" => ""
"phone" => "79221548845"
"address" => array:11 [
"address_tail" => "620085, Россия, Свердловская область, Екатеринбург, улица Крестинского, 6, кв. 258, под. 1, эт. 25, домофон 258"
"city" => "Екатеринбург"
"comment" => "Тестовый заказ"
"country" => "Россия"
"district" => ""
"region" => "Свердловская"
"zip_code" => "620085"
"latitude" => 56.79193497
"longitude" => 60.61078262
"pvz_code" => 0
"provider_pvz_code" => ""
]
"name" => "Сергей Филатов Андреевич"
]
"products" => array:1 [
0 => array:7 [
"price" => "67.000000"
"offer_id" => "549419"
"name" => "Гайка"
"sku" => 547739457
"quantity" => 1
"mandatory_mark" => []
"currency_code" => "RUB"
]
]
"addressee" => array:2 [
"name" => "Филатов Сергей "
"phone" => "79221548845"
]
"barcodes" => null
"analytics_data" => null
"financial_data" => null
"is_express" => false
"requirements" => array:4 [
"products_requiring_gtd" => []
"products_requiring_country" => []
"products_requiring_mandatory_mark" => []
"products_requiring_rnpt" => []
]
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment