api.jobs.shipment.book
POST /job/{jobDisplayId}/shipment/book— ACPortal
Python
api.jobs.shipment.book(job_display_id: int, *, data: ShipmentBookRequest | dict) -> ServiceBaseResponse
CLI
ab jobs shipment book <job_display_id> [--data ...]
POST /job/{jobDisplayId}/shipment/book
Request model: :class:ShipmentBookRequest.
Request body — ShipmentBookRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Selected rate quote option index |
|
|
no |
Requested ship-out date (ISO-8601 date-time); required for non-UPS carriers |
|
|
no |
International shipment export parameters |
|
|
no |
Carrier-specific booking parameters |
|
|
no |
Whether the response should include document byte codes (labels) |
Response
Returns ServiceBaseResponse.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Whether the operation succeeded |
|
|
no |
Error detail when success is False |
|
|
no |
Current job sub-management status |
|
|
no |
Documents from the operation — URL/reference strings or document objects (label byte codes) |
|
|
no |
Detailed error object when success is False |
|
|
no |
Whether user confirmation is needed |
|
|
no |
Notification messages for user |
|
|
no |
Shipment UUID created or modified |
|
|
no |
Carrier acceptance reference |
|
|
no |
Shipment weight details |
|
|
no |
Total net charge amount |
|
|
no |
Currency code (e.g., USD) |
|
|
no |
Whether international info is needed |
|
|
no |
Whether ship-out date confirmation is needed |
|
|
no |
Whether FedEx Express freight details are required |
|
|
no |
Carrier API type code |