curl --location --request POST '/api/public/user' \
--header 'Identifier: {{identifier}}' \
--header 'Application-key: {{token}}' \
--form 'client="1566"' \
--form 'u_name="Измененный тестовый клиент"' \
--form 'u_phone1="70000000000"' \
--form 'op_id="1"' \
--form 'client_type="0"' \
--form 'u_stopproducts_groups[]="9"' \
--form 'u_stopproducts[]="2800"' \
--form 'u_stopdishes_groups[]="2"' \
--form 'u_stopdishes[]="336"' \
--form 'v_birthday="01.01.2024"' \
--form 'u_sex_id="1"' \
--form 'u_email="email@provider.zone"' \
--form 'source_id="1"' \
--form 'status="1"'[
{
"id": 1566,
"name": "Измененный тестовый клиент",
"email": "email@provider.zone",
"u_sex_id": "1",
"v_birthday": "01.01.2024",
"phone": "70000000000",
"contacts": null,
"adr": "Поварская улица, 20, подъезд 1, этаж 3, кв. 20",
"adrs": [
{
"ua_id": 3194,
"ua_adres": "Поварская улица, 20, подъезд 1, этаж 3, кв. 20",
"ua_coordinates": "55.754355,37.595132",
"entrance": null,
"apartment": null,
"floor": null,
"comment": null
}
],
"stopProducts": [
{
"id": 31,
"title": "Авокадо",
"price": 800,
"type": "product",
"deleted": 0
},
{
"id": 206,
"title": "Агар пищевой",
"price": 0,
"type": "product",
"deleted": 0
}
],
"stopDishes": [
{
"id": 1321,
"title": "Овсяная каша с бананом",
"price": 0,
"net_price": 15.0543,
"weight": 205,
"d_image_link_full": null,
"cooking_title": "Разогреть в микроволновой печи.",
"d_kal": 152,
"d_belki": 5.37,
"d_jiry": 5.85,
"d_uglevody": 19.51,
"d_description": "Молоко, овсяные хлопья, сахарозаменитель,\r\nбанан, мята",
"translations": []
},
{
"id": 1322,
"title": "Гаспаччо с моцареллой",
"price": 0,
"net_price": 31.4314,
"weight": 300,
"d_image_link_full": null,
"cooking_title": "Подается в холодном виде",
"d_kal": 47,
"d_belki": 3,
"d_jiry": 2.33,
"d_uglevody": 4.33,
"d_description": "Помидоры, сельдерей, болгарский перец, чеснок, моцарелла",
"translations": []
}
],
"bonus_from_payment": 0,
"maximum_bonus_payment": 0,
"is_discount_regular": 1,
"comment_manager": null,
"comment_description": "",
"comment_delivery": "dddddd",
"comment_user": "",
"discount": 0,
"bonus_balance": 0,
"op_id": "1"
}
]