Item Status Change
Changes the state of a delivery item
POST /api/v2_2/delivery/item/status_change
Input Parameters
| Name | Type | Description |
|---|---|---|
item_id |
integer |
Required. Id of the Delivery Item that’s being received |
location_id |
integer |
Id of the Location where the item is. Required when the new state is returned
|
previous_state |
string |
State the item is leaving. If passed and the item is no longer in that state, the request fails |
state |
string |
Required. New state for the item. One of creating, deferred, checked, prepared, ready_for_transfer, in_transfer, ready_for_delivery, out_for_delivery, delivered, immediate, return_requested, returned, unpacking, canceled or needs_review (see delivery states) |
effective_quantity |
integer |
pass this number to validate the quantity of the item |
note |
string |
note to add to the item |