Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PUT \
--url https://api.example.com/v1/crm/integrations/wazzup/triggers/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
123
],
"type": 0,
"order_status_from": "exceed",
"order_status_to": "exceed",
"order_payment_status_from": 0,
"order_payment_status_to": 0,
"sale_status_from": 0,
"sale_status_to": 0,
"delivery_type": 0,
"delivery_status": 0,
"text": "<string>",
"order": -1,
"template_id": "<string>",
"template_keys": [
"<string>"
],
"timeout": "<string>"
}
'{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"documents": [
123
],
"type": 0,
"order_status_from": "exceed",
"order_status_to": "exceed",
"order_payment_status_from": 0,
"order_payment_status_to": 0,
"sale_status_from": 0,
"sale_status_to": 0,
"delivery_type": 0,
"delivery_status": 0,
"text": "<string>",
"order": -1,
"template_id": "<string>",
"template_keys": [
"<string>"
],
"timeout": "<string>"
}curl --request PUT \
--url https://api.example.com/v1/crm/integrations/wazzup/triggers/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
123
],
"type": 0,
"order_status_from": "exceed",
"order_status_to": "exceed",
"order_payment_status_from": 0,
"order_payment_status_to": 0,
"sale_status_from": 0,
"sale_status_to": 0,
"delivery_type": 0,
"delivery_status": 0,
"text": "<string>",
"order": -1,
"template_id": "<string>",
"template_keys": [
"<string>"
],
"timeout": "<string>"
}
'{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"documents": [
123
],
"type": 0,
"order_status_from": "exceed",
"order_status_to": "exceed",
"order_payment_status_from": 0,
"order_payment_status_to": 0,
"sale_status_from": 0,
"sale_status_to": 0,
"delivery_type": 0,
"delivery_status": 0,
"text": "<string>",
"order": -1,
"template_id": "<string>",
"template_keys": [
"<string>"
],
"timeout": "<string>"
}0 - order1 - order payment2 - sale3 - delivery0, 1, 2, 3 -2147483648 <= x <= 2147483647exceed - exceedrequest - Запросreserve - reserveinrent - В арендеcancel - cancelcompleted - Завершеноdebtor - Должникexceed, request, reserve, inrent, cancel, completed, debtor exceed - exceedrequest - Запросreserve - reserveinrent - В арендеcancel - cancelcompleted - Завершеноdebtor - Должникexceed, request, reserve, inrent, cancel, completed, debtor 0 - Ожидается оплата1 - Оплата произведена2 - Частичная оплата0, 1, 2 -32768 <= x <= 327670 - Ожидается оплата1 - Оплата произведена2 - Частичная оплата0, 1, 2 -32768 <= x <= 327670 - черновик1 - Продано2 - cancelled0, 1, 2 -32768 <= x <= 327670 - черновик1 - Продано2 - cancelled0, 1, 2 -32768 <= x <= 327670 - DELIVERY1 - PICK_UP0, 1 -32768 <= x <= 327670 - PENDING1 - IN_PROGRESS2 - DONE3 - CANCEL0, 1, 2, 3 -32768 <= x <= 32767-2147483648 <= x <= 21474836472552550 - order1 - order payment2 - sale3 - delivery0, 1, 2, 3 -2147483648 <= x <= 2147483647exceed - exceedrequest - Запросreserve - reserveinrent - В арендеcancel - cancelcompleted - Завершеноdebtor - Должникexceed, request, reserve, inrent, cancel, completed, debtor exceed - exceedrequest - Запросreserve - reserveinrent - В арендеcancel - cancelcompleted - Завершеноdebtor - Должникexceed, request, reserve, inrent, cancel, completed, debtor 0 - Ожидается оплата1 - Оплата произведена2 - Частичная оплата0, 1, 2 -32768 <= x <= 327670 - Ожидается оплата1 - Оплата произведена2 - Частичная оплата0, 1, 2 -32768 <= x <= 327670 - черновик1 - Продано2 - cancelled0, 1, 2 -32768 <= x <= 327670 - черновик1 - Продано2 - cancelled0, 1, 2 -32768 <= x <= 327670 - DELIVERY1 - PICK_UP0, 1 -32768 <= x <= 327670 - PENDING1 - IN_PROGRESS2 - DONE3 - CANCEL0, 1, 2, 3 -32768 <= x <= 32767-2147483648 <= x <= 2147483647255255Была ли эта страница полезной?