Create a waybill
POST/api/waybills
Field names are camelCase for compatibility with early integrations. Without route_id, senderPhone and the receiver fields (all but receiverDistrictName) are required.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 409
- 422
- 500
The existing waybill (return_existing, return_if_accepted).
The created or overwritten waybill.
Sender location not found for senderPhone, senderPhone missing, or route_id is not one of your routes.
Missing or invalid signature or session.
The outTradeNo belongs to another organization, or the request carries no organization context.
Waybill already exists (overwrite=reject).
Validation failed (the message names each field), or no carrier assigned (return_if_accepted).
System error.