Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
17 kB
2
Indexable
Never
{
  "data": {
    "orders": [
      {
        "id": 21437125631,
        "client_id": 1365503,
        "number": "01365503-0001",
        "date": "2023-11-28T06:27:25.645375Z",
        "client_state_id": 1025,
        "client_state_name": "В работе",
        "state_change_moment": "2023-11-28T06:27:32.630232Z",
        "payment_type_id": 3,
        "delivery_variant_id": 11469,
        "is_credit": false,
        "is_digital": false,
        "total_price_without_score_subt": 0,
        "total_price_after_all_calc": 300,
        "delivery_price": 300,
        "client_account_payment": 0,
        "score_to_add": 0,
        "client_score_value": 0,
        "is_editable": false,
        "is_cancellable": true,
        "address_id": 21440395631,
        "phone": "",
        "client_delivery_price": 300,
        "paid": true,
        "client_account_payment_calc": 0,
        "marketplace_id": null,
        "currency_code": null,
        "client_prr_price": null,
        "processed_at": "2023-11-28T06:27:32.447259Z",
        "payment_type": {
          "id": 3,
          "name": "Банковская карта",
          "name_for_web": "Картой онлайн",
          "is_prepay": true,
          "is_online": true,
          "currency_id": null,
          "payment_type_group_id": 2
        },
        "address": {
          "id": 21440395631,
          "address_uid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
          "country": "Guadeloupe",
          "zip_code": "60253-9675",
          "region": "New Hampshire",
          "district": "Ryan Trail",
          "city": "Bowling Green",
          "address_tail": "121351, Российская Федерация, г. Москва, Молодогвардейская ул., д. 61, стр. 20, на 1 этаже",
          "addressee": "Вингебергов Игнат Иванович",
          "area_id": 2,
          "comment": "Заказ получит: Игнат Вингебергов 88005553535",
          "visible": false,
          "contractor_id": 1365503,
          "point_id": 1,
          "phone": "79165221787",
          "ins_date": "2023-11-28T06:27:25.637438Z",
          "modify_date": "2023-11-28T06:27:25.637438Z",
          "parent_address_id": 0,
          "first_name": "Игнат",
          "last_name": "Вингебергов",
          "middle_name": "Иванович",
          "external_address_id": null,
          "fias_id": null,
          "latitude": 55.77616119,
          "longitude": 37.53881836,
          "coordinate_precision_type_id": 0,
          "user_inputted_address": null,
          "city_uid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
          "address_schema_version": 2
        },
        "gift_sender": null,
        "address_attribute": {
          "id": 21440395631,
          "street": "Maggie Courts",
          "house": "69",
          "entrance": "Подъезд",
          "apartment": "38",
          "intercom": "Mobile phone",
          "floor": "14",
          "is_verified": false,
          "is_carpass_required": false
        },
        "loyalty_state": {
          "id": 4,
          "name": "None",
          "comment": "Устанавливается клиенту, не имеющему статуса в ПЛ"
        },
        "application": null,
        "order_items": [
          {
            "id": 22613865631,
            "client_order_id": 21437125631,
            "item_id": 33006463,
            "qty": 1,
            "price": 0,
            "item_discount": 0,
            "src_price": 0,
            "weight": 500,
            "partner_id": null,
            "partner_percent": null,
            "item_discount_amount": 0,
            "partner_agent_id": null,
            "client_score_value": 0,
            "partner_link_direct": null,
            "is_client_new": null,
            "is_revards_expiration": 0,
            "marketplace_seller_id": 120,
            "marketplace_seller_price": 300,
            "width": 31,
            "length": 32,
            "height": 33,
            "item_availability_id": 1,
            "score_to_add": 0,
            "physical_store_id": 12856,
            "is_fresh": null,
            "installment_price": 0,
            "marketplace_seller_price_currency": null,
            "marketplace_seller_price_currency_code": null,
            "attributes": []
          }
        ],
        "shipments": [
          {
            "id": 21943095631,
            "order_id": 21437125631,
            "time_slot_id": 1114000001440250,
            "client_state_id": 2010,
            "client_state_name": "Создано",
            "slote_delivery_date_begin": "2023-11-28T11:27:25.000Z",
            "slote_delivery_date_end": "2023-11-28T11:27:25.000Z",
            "created_at": "2023-11-28T06:27:25.655329Z",
            "delivery_type": "courier",
            "address_id": 21440395631,
            "delivery_schema": "Retail",
            "state_change_moment": "2023-11-28T06:27:25.655329Z",
            "number": 1,
            "clearing_delivery_variant_id": 22534442431000,
            "price": 0,
            "is_cancellable": true,
            "tpl_integration_type": "ozon",
            "address": {
              "id": 21440395631,
              "address_uid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
              "country": "Guadeloupe",
              "zip_code": "60253-9675",
              "region": "New Hampshire",
              "district": "Ryan Trail",
              "city": "Bowling Green",
              "address_tail": "121351, Российская Федерация, г. Москва, Молодогвардейская ул., д. 61, стр. 20, на 1 этаже",
              "addressee": "Вингебергов Игнат Иванович",
              "area_id": 2,
              "comment": "Заказ получит: Игнат Вингебергов 88005553535",
              "visible": false,
              "contractor_id": 1365503,
              "point_id": 1,
              "phone": "79165221787",
              "ins_date": "2023-11-28T06:27:25.637438Z",
              "modify_date": "2023-11-28T06:27:25.637438Z",
              "parent_address_id": 0,
              "first_name": "Игнат",
              "last_name": "Вингебергов",
              "middle_name": "Иванович",
              "external_address_id": null,
              "fias_id": null,
              "latitude": 55.77616119,
              "longitude": 37.53881836,
              "coordinate_precision_type_id": 0,
              "user_inputted_address": null,
              "city_uid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
              "address_schema_version": 2
            },
            "possible_states": [
              {
                "id": 2010,
                "name": "Создано"
              },
              {
                "id": 2020,
                "name": "На упаковке"
              },
              {
                "id": 2030,
                "name": "Передается в доставку"
              },
              {
                "id": 2040,
                "name": "Отправлено"
              },
              {
                "id": 2050,
                "name": "На пути в ваш город"
              },
              {
                "id": 2055,
                "name": "Передано в доставку"
              },
              {
                "id": 2060,
                "name": "Передается курьеру"
              },
              {
                "id": 2070,
                "name": "Курьер в пути"
              },
              {
                "id": 2100,
                "name": "Доставлено"
              }
            ],
            "postings": [
              {
                "id": 22302675631,
                "shipment_id": 21943095631,
                "client_state_id": 3010,
                "client_state_name": "Создана",
                "client_order_id": 21437125631,
                "posting_state_id": 10,
                "number": 1,
                "delivery_type_id": null,
                "appraisal": 300,
                "fact_weight": null,
                "date": "2023-11-27T21:00:00.000Z",
                "state_change_moment": "2023-11-28T06:27:32.624836Z",
                "ext_code": null,
                "delivery_variant_id": 11469,
                "client_account_payment": 0,
                "client_delivery_price": 300,
                "posting_number": "01365503-0001-1",
                "physical_store_id": 12856,
                "marketplace_seller_id": 120,
                "created_at": "2023-11-28T06:27:25.660345Z",
                "clearing_delivery_variant_id": 22534442431000,
                "delivery_variant_name": "Текстовое название доставки",
                "delivery_schema": "Retail",
                "delivery_type": "courier",
                "clearing_id": 411000000489265,
                "rezon_id": 22302675631,
                "postamat_code_give_out": null,
                "cancel_reason_id": null,
                "min_delivery_date": "2023-11-28T11:27:25.000Z",
                "max_delivery_date": "2023-11-28T11:27:25.000Z",
                "time_slot_id": 1114000001440250,
                "pvz_expiration_time": null,
                "external_drop_point_id": null,
                "parent_posting_number": null,
                "tpl_integration_type": "ozon",
                "border_type": null,
                "seller_warehouse_id": 18978815247000,
                "shipping_provider_id": 1461294009000,
                "currency_code": null,
                "client_prr_price": null,
                "wrh_integration_type": "UNDEFINED",
                "items": [
                  {
                    "id": 22733845631,
                    "posting_id": 22302675631,
                    "client_order_item_id": 22613865631,
                    "qty": 1,
                    "moment": null,
                    "price": 0,
                    "item_id": 33006463,
                    "marketplace_seller_id": 120,
                    "delivery_schema": "Retail"
                  }
                ],
                "time_slot": {
                  "id": 23079395631,
                  "posting_id": 22302675631,
                  "time_slot_id": 1114000001440250,
                  "time_slot_init": null,
                  "delivery_payment_for_time_slot": 0,
                  "cut_off_time": "2023-11-28T11:27:25.000Z",
                  "slote_delivery_date_begin": "2023-11-28T11:27:25.000Z",
                  "slote_delivery_date_end": "2023-11-28T11:27:25.000Z",
                  "cut_in_time": null,
                  "is_user_choice": true,
                  "to_day_delivery": false,
                  "time_slot_event_id": null,
                  "reason_sys_name": null,
                  "warehouse_utc_offset": 0,
                  "utc_offset": 0,
                  "client_delivery_date_begin": "2023-11-28T11:27:25.000Z",
                  "client_delivery_date_end": "2023-11-28T11:27:25.000Z",
                  "client_utc_offset": 0
                },
                "additional_info": [
                  {
                    "id": 1,
                    "posting_id": 22302675631,
                    "code": "IsExpress",
                    "value": "1",
                    "moment": "2023-11-28T06:27:25.669346Z"
                  },
                  {
                    "id": 2,
                    "posting_id": 22302675631,
                    "code": "department",
                    "value": "Supermarket",
                    "moment": "2023-11-28T06:27:25.669346Z"
                  },
                  {
                    "id": 3,
                    "posting_id": 22302675631,
                    "code": "HasPackage",
                    "value": "0",
                    "moment": "2023-11-28T06:27:25.669346Z"
                  }
                ],
                "address": {
                  "id": 21440395631,
                  "address_uid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
                  "country": "Guadeloupe",
                  "zip_code": "60253-9675",
                  "region": "New Hampshire",
                  "district": "Ryan Trail",
                  "city": "Bowling Green",
                  "address_tail": "121351, Российская Федерация, г. Москва, Молодогвардейская ул., д. 61, стр. 20, на 1 этаже",
                  "addressee": "Вингебергов Игнат Иванович",
                  "area_id": 2,
                  "comment": "Заказ получит: Игнат Вингебергов 88005553535",
                  "visible": false,
                  "contractor_id": 1365503,
                  "point_id": 1,
                  "phone": "79165221787",
                  "ins_date": "2023-11-28T06:27:25.637438Z",
                  "modify_date": "2023-11-28T06:27:25.637438Z",
                  "parent_address_id": 0,
                  "first_name": "Игнат",
                  "last_name": "Вингебергов",
                  "middle_name": "Иванович",
                  "external_address_id": null,
                  "fias_id": null,
                  "latitude": 55.77616119,
                  "longitude": 37.53881836,
                  "coordinate_precision_type_id": 0,
                  "user_inputted_address": null,
                  "city_uid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
                  "address_schema_version": 2
                },
                "gift_sender": null,
                "cancel_reason_source": null,
                "posting_time_slot_log": [
                  {
                    "posting_id": 22302675631,
                    "time_slot_id": 1114000001440250,
                    "cut_off_time": "2023-11-28T11:27:25.000Z",
                    "cut_in_time": null,
                    "slot_delivery_date_begin": "2023-11-28T11:27:25.000Z",
                    "slot_delivery_date_end": "2023-11-28T11:27:25.000Z",
                    "date_from": "2023-11-28T06:27:26.030956Z",
                    "date_to": null,
                    "event_id": null,
                    "utc_offset": 0,
                    "warehouse_utc_offset": 0,
                    "reason_sys_name": null,
                    "id": 6574001,
                    "client_delivery_date_begin": "2023-11-28T11:27:25.000Z",
                    "client_delivery_date_end": "2023-11-28T11:27:25.000Z",
                    "client_utc_offset": 0
                  }
                ],
                "posting_state_log": [
                  {
                    "state_id": 3010,
                    "src_state_id": 3005,
                    "scenario": "default",
                    "moment": "2023-11-28T06:27:32.000Z",
                    "operator": "OMS",
                    "comment": null
                  }
                ],
                "courier": null,
                "tpl_status": null,
                "tpl_status_logs": [],
                "address_attribute": {
                  "id": 21440395631,
                  "street": "Maggie Courts",
                  "house": "69",
                  "entrance": "Подъезд",
                  "apartment": "38",
                  "intercom": "Mobile phone",
                  "floor": "14",
                  "is_verified": false,
                  "is_carpass_required": false
                },
                "instances": []
              }
            ],
            "gift_sender": null,
            "change_addressee_remaining_tries": {
              "count": 5
            }
          }
        ],
        "additional_info": [
          {
            "id": 1,
            "client_order_id": 21437125631,
            "code": "ozonPreOrder",
            "value": "c9737375-1f20-474c-9e43-a3d3e7c6dff8",
            "moment": "2023-11-28T06:27:25.654497Z"
          },
          {
            "id": 2,
            "client_order_id": 21437125631,
            "code": "UUID",
            "value": "1c61f340-bb08-4662-9503-043d18bd42da",
            "moment": "2023-11-28T06:27:25.654497Z"
          }
        ],
        "marketing_actions": [],
        "change_addressee_remaining_tries": {
          "count": 5
        },
        "ip": "192.168.0.1",
        "surcharges": []
      }
    ]
  },
  "error": null
}
Leave a Comment