Documentation

sale.delivery.request.sendmessage

Scope: catalog Permissions to execute: for all

Method for sending delivery-related messages.

JSON query schema

Example

Query:

https://my.bitrix24.ru/rest/sale.delivery.request.sendmessage

JSON call:

{
    DELIVERY_ID: 694,
    REQUEST_ID: "4757aca4931a4f029f49c0db4374d13d",
    ADDRESSEE: "MANAGER",
    MESSAGE: {
        SUBJECT: "Your order is on its way",
        BODY: "Estimated delivery price: #MONEY#",
        MONEY_VALUES: [
            351.2
        ],
        STATUS: {
            MESSAGE: "Success",
            SEMANTIC: "success",
        },
    },
}

JSON response:

{
    result: true,
    time: {
        start: 1638795181.272819,
        finish: 1638795181.944819,
        duration: 0.6719999313354492,
        processing: 0.23099994659423828,
        date_start: "2021-12-06T14:53:01+02:00",
        date_finish: "2021-12-06T14:53:01+02:00",
    },
}


© «Bitrix24», 2001-2024
Up