curl --location --request PUT '/api/public/order//days/' \
--header 'Identifier: {{identifier}}' \
--header 'Application-key: {{token}}' \
--form 'cooking_date="2023-12-20"' \
--form 'eat_date="2023-12-20"' \
--form 'delivery_date="2023-12-20"' \
--form 'tariff_id="1"' \
--form 'diet_id="1"' \
--form 'ua_id="111"' \
--form 'odt_id="1111"' \
--form 'ds_id="1111"' \
--form 'menu_rations_multiplier="1"'{
"diet": {
"id": 2,
"title": "1200 ккал",
"link": "http://127.0.0.1/diets/2",
"sortindex": 2
},
"tariff": {
"id": 2,
"title": "Стандартный тариф",
"price": [
{
"ddp_id": 2,
"dd_id": 1,
"dk_id": 2,
"ddp_price": 850,
"ddp_netpricemax": 0,
"ddp_packprice": 73,
"u_update": 0,
"v_update": 0,
"u_create": 23,
"v_create": 1587715285,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 4,
"dd_id": 2,
"dk_id": 2,
"ddp_price": 1090,
"ddp_netpricemax": 0,
"ddp_packprice": 96,
"u_update": 0,
"v_update": 0,
"u_create": 23,
"v_create": 1587715313,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 6,
"dd_id": 3,
"dk_id": 2,
"ddp_price": 1250,
"ddp_netpricemax": 0,
"ddp_packprice": 119,
"u_update": 0,
"v_update": 0,
"u_create": 23,
"v_create": 1587715342,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 8,
"dd_id": 4,
"dk_id": 2,
"ddp_price": 1400,
"ddp_netpricemax": 0,
"ddp_packprice": 131,
"u_update": 0,
"v_update": 0,
"u_create": 23,
"v_create": 1587715367,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 10,
"dd_id": 0,
"dk_id": 2,
"ddp_price": 0,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 23,
"v_create": 1587715389,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 12,
"dd_id": 5,
"dk_id": 2,
"ddp_price": 1650,
"ddp_netpricemax": 0,
"ddp_packprice": 139,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587739359,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 14,
"dd_id": 6,
"dk_id": 2,
"ddp_price": 1400,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587739388,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 16,
"dd_id": 7,
"dk_id": 2,
"ddp_price": 1800,
"ddp_netpricemax": 0,
"ddp_packprice": 158,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587739509,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 18,
"dd_id": 8,
"dk_id": 2,
"ddp_price": 1350,
"ddp_netpricemax": 500,
"ddp_packprice": 98,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587739627,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 19,
"dd_id": 9,
"dk_id": 2,
"ddp_price": 990,
"ddp_netpricemax": 180,
"ddp_packprice": 96,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587743358,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 21,
"dd_id": 10,
"dk_id": 2,
"ddp_price": 1115,
"ddp_netpricemax": 500,
"ddp_packprice": 98,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587743440,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 23,
"dd_id": 11,
"dk_id": 2,
"ddp_price": 0,
"ddp_netpricemax": 230,
"ddp_packprice": 119,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587744551,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 25,
"dd_id": 12,
"dk_id": 2,
"ddp_price": 0,
"ddp_netpricemax": 230,
"ddp_packprice": 119,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1587748607,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 82,
"dd_id": 13,
"dk_id": 2,
"ddp_price": 1450,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1591613754,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 88,
"dd_id": 14,
"dk_id": 2,
"ddp_price": 1150,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 1,
"v_create": 1597568684,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 94,
"dd_id": 15,
"dk_id": 2,
"ddp_price": 1,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1608971254,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 100,
"dd_id": 16,
"dk_id": 2,
"ddp_price": 1200,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1610202613,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 106,
"dd_id": 17,
"dk_id": 2,
"ddp_price": 1040,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1610202878,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 142,
"dd_id": 18,
"dk_id": 2,
"ddp_price": 800,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1625651162,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 151,
"dd_id": 19,
"dk_id": 2,
"ddp_price": 1600,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1639849834,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 159,
"dd_id": 20,
"dk_id": 2,
"ddp_price": 1,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1639850548,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 167,
"dd_id": 21,
"dk_id": 2,
"ddp_price": 1350,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1639850731,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 175,
"dd_id": 22,
"dk_id": 2,
"ddp_price": 1450,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1639850857,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 183,
"dd_id": 23,
"dk_id": 2,
"ddp_price": 1350,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1639851017,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 191,
"dd_id": 24,
"dk_id": 2,
"ddp_price": 2400,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1642846394,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 199,
"dd_id": 25,
"dk_id": 2,
"ddp_price": 1750,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1642846716,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 207,
"dd_id": 26,
"dk_id": 2,
"ddp_price": 3990,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1642846765,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 215,
"dd_id": 27,
"dk_id": 2,
"ddp_price": 1300,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1642846822,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 223,
"dd_id": 28,
"dk_id": 2,
"ddp_price": 2400,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1642846867,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 231,
"dd_id": 29,
"dk_id": 2,
"ddp_price": 1750,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1642846913,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 326,
"dd_id": 30,
"dk_id": 2,
"ddp_price": 1100,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1652939860,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 346,
"dd_id": 9999,
"dk_id": 2,
"ddp_price": 0,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 1625,
"v_create": 1658739597,
"do_id": 0,
"enable": 1
},
{
"ddp_id": 349,
"dd_id": 10001,
"dk_id": 2,
"ddp_price": 1,
"ddp_netpricemax": 0,
"ddp_packprice": 0,
"u_update": 0,
"v_update": 0,
"u_create": 334,
"v_create": 1661501536,
"do_id": 0,
"enable": 1
}
],
"auto_days": 0,
"min_days": 1,
"max_days": 100,
"link": "http://127.0.0.1/tariff/2/edit"
},
"eat_date": "2023-12-08",
"delivery_date": "2023-12-08",
"cooking_date": "2023-12-08"
}