Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[
	{
		"external_id": "123456",
		"matching":"email",
		"email":"johndoe@example.com"
		"endpoint": "endpoint_external_id",
		"tags": [
			"one",
			"two"
		],
		"status": "new",
		"delivery_cost": "100",
		"total_price": "1000",
		"currency": "USD",
		"custom_fields": {
			"order_field_id_1": "data",
			"order_field_id_2": 123
        },
		"region": "region_external_id",
		"lines": [
			{
				"external_id": "1234000",
				"status": "0001",
				"sku": "sku_external_id",
				"base_price_per_item": "900",
				"min_price_per_item": "900",
				"final_price_per_item": "900",   
				"count": 5,
				"custom_fields": {
					"line_field_id_2": "data",
					"line_field_id_1": 123
         		}
			}
		]
	}
]

...

Lines object
Anchor
line_object
line_object

Описание

Массив объектов lines содержит объекты с данными о позициях заказа. Один объект – одна позиция.

...