curl --request POST \
--url https://api.example.com/menu-layout/buttons/{button_id}/move-to-row \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"target_row_id": "<string>",
"position": 1
}
'{
"button_id": "<string>",
"new_row_index": 123,
"target_row_id": "<string>",
"position": 123
}Переместить кнопку в указанную строку.
curl --request POST \
--url https://api.example.com/menu-layout/buttons/{button_id}/move-to-row \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"target_row_id": "<string>",
"position": 1
}
'{
"button_id": "<string>",
"new_row_index": 123,
"target_row_id": "<string>",
"position": 123
}