api.jobs.update_item
PUT /job/{jobDisplayId}/item/{itemId}— ACPortal
Python
api.jobs.update_item(job_display_id: int, item_id: str, *, data: ItemUpdateRequest | dict) -> ServiceBaseResponse
CLI
ab jobs update_item <job_display_id> <item_id> [--data ...]
PUT /job/{jobDisplayId}/item/{itemId}.
Args:
job_display_id: Job display ID.
item_id: Item identifier.
data: Item update payload with description, quantity, and weight.
Accepts an :class:ItemUpdateRequest instance or a dict.
Request model: :class:ItemUpdateRequest
Request body — ItemUpdateRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Updated description |
|
|
no |
Updated quantity |
|
|
no |
Updated weight |
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 |
Document URLs/references generated by operation |
|
|
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 |