{
"name": "save_preorder",
"description": "Добавляет заявку в таблицу",
"strict": true,
"parameters": {
"type": "object",
"properties": {
"product": { "type": "string", "description": "Название товара" },
"contacts": { "type": "string", "description": "Контакты клиента" },
"quantity": { "type": "number", "description": "Количество" }
},
"required": ["product", "contacts", "quantity"]
}
}
- Метод: POST
- URL: https://sheetdb.io/api/v1/jomp01mk1b788?sheet=preorders
- Тело запроса:
{
"data": [
{
"id": "INCREMENT",
"product": "{product}",
"contacts": "{contacts}",
"quantity": "{quantity}"
}
]
}