По заказу получаем такой ответ
"order_id": "10933",
"invoice_no": "0",
"invoice_prefix": "INV-2024-00",
"store_id": "0",
"store_name": "Мій електронна комерція",
"store_url": "https://www.keratin.com.ua/",
"customer_id": "1",
"customer_group_id": "1",
"firstname": "Сергей",
"lastname": "Тимофеев",
"email": "
[email protected]",
"telephone": "380767827333",
"fax": "",
"custom_field": "",
"payment_firstname": "Сергей",
"payment_lastname": "Тимофеев",
"payment_company": "компания",
"payment_address_1": "адрес 1",
"payment_address_2": "адрес2",
"payment_city": "адрес 2",
"payment_postcode": "49127",
"payment_country": "Украина",
"payment_country_id": "220",
"payment_zone": "Днепропетровск",
"payment_zone_id": "132",
"payment_address_format": "",
"payment_custom_field": "[]",
"payment_method": "Оплата при доставке",
"payment_code": "cod",
"shipping_firstname": "Сергей",
"shipping_lastname": "Тимофеев",
"shipping_company": "компания",
"shipping_address_1": "адрес 1",
"shipping_address_2": "адрес2",
"shipping_city": "адрес 2",
"shipping_postcode": "49127",
"shipping_country": "Украина",
"shipping_country_id": "220",
"shipping_zone": "Днепропетровск",
"shipping_zone_id": "132",
"shipping_address_format": "",
"shipping_custom_field": "[]",
"shipping_method": "Доставка с фиксированной стоимостью доставки",
"shipping_code": "flat.flat",
"comment": "",
"total": "106.0000",
"order_status_id": "1",
"affiliate_id": "0",
"commission": "0.0000",
"marketing_id": "0",
"tracking": "",
"language_id": "1",
"currency_id": "1",
"currency_code": "RUB",
"currency_value": "1.00000000",
"ip": "188.163.108.201",
"forwarded_ip": "188.163.108.201",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",
"accept_language": "ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7",
"date_added": "2024-10-19 09:14:04",
"date_modified": "2024-10-19 09:14:05"
}
],
"success": "Заказ обновлен"
}
А нужно в это внести еще и
"shipping_zone_ref": "11111111111111111",
"shipping_city_ref": "2222222222222",
"shipping_departament_ref": "33333333333333",
"shipping_postomat_ref": "33333333333333",