Delivery Requests for Shipping Services: Overview of Methods
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
Delivery requests synchronize an order in Bitrix24 with the statuses and messages from an external shipping service. For example, you can update the tracking number, change the delivery date, or send a notification to the customer.
This is necessary to keep the information about the cargo movement up to date and to inform the participants in the delivery process.
Quick Navigation: all methods
Data Structure of the Request
The method sale.delivery.request.update updates the request data through the parameters STATUS, PROPERTIES, and FINALIZE.
The PROPERTIES parameter transmits additional delivery data, while STATUS indicates the current state of the request. To completely replace the set of properties, use OVERWRITE_PROPERTIES=Y.
The method sale.delivery.request.sendmessage creates notifications for the request. Specify the recipient using the ADDRESSEE parameter, and the text, title, and status of the message in the MESSAGE object.
Linking Delivery Requests with Other Objects
Shipping Services. A delivery request is linked to a specific shipping service by DELIVERY_ID. Manage services through the methods sale.delivery.*.
Order and Shipments. The request is associated with an order through shipments. The request identifier is generated by the external system in the scenario Creating a Delivery Order.
How to Work with Delivery Requests
- Obtain the
DELIVERY_IDof the shipping service using the method sale.delivery.getlist. - Use the
REQUEST_IDthat the external system returns in the webhook Creating a Delivery Order. - Update the status and properties of the request using the method sale.delivery.request.update.
- Send notifications to the manager or recipient using the method sale.delivery.request.sendmessage.
- Delete any outdated requests using the method sale.delivery.request.delete.
Overview of Methods
Scope:
sale, deliveryWho can perform the methods: administrator
|
Method |
Description |
|
Updates the delivery request |
|
|
Creates notifications for the delivery request |
|
|
Deletes the delivery request |