api.jobs.shipment.post_export_data
POST /job/{jobDisplayId}/shipment/exportdata— ACPortal
Python
api.jobs.shipment.post_export_data(job_display_id: int, *, data: ShipmentExportRequest | dict) -> ServiceBaseResponse
CLI
ab jobs shipment post_export_data <job_display_id> [--data ...]
POST /job/{jobDisplayId}/shipment/exportdata
The body is the portal’s flat InternationalParams shape —
- class:
ShipmentExportRequest,customsValuerequired. GET returns ajobItemIdon each commodity that the POST schema forbids (additionalProperties: false), so it is stripped here to keep the GET → edit → POST round-trip legal.
Request body — ShipmentExportRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Customs declared value (portal-required) |
|
|
no |
Commodity lines (GET adds a per-line jobItemId the POST schema forbids; the endpoint strips it) |
|
|
no |
Packing information entries |
|
|
no |
Commercial invoice number |
|
|
no |
Purchase order number |
|
|
no |
Incoterms / terms of sale |
|
|
no |
Exporter tax identifier |
|
|
no |
Consignee tax identifier |
|
|
no |
Aggregate cost breakdown |
|
|
no |
Sold-to contact and address |
|
|
no |
USPS-specific export fields |
|
|
no |
FedEx-specific export fields |
|
|
no |
UPS-specific export fields |
|
|
no |
Whether numeric values are explicitly specified |
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 |