If the shipment must be reassigned to Customer Care (CCUI), either by customer request or due to a reason such as the customer not picking up their order, this API will do so with a simple request. This can not be used to reassign to another location, backorder, or cancel items like the standard Assign Shipment API.
Note that the request body and parameter schemas outlined in this guide are the exact same as in the previous version of OMS, as the Unified Commerce platform supports backwards compatibility for this API. The only change to this request is the format of the base endpoint, as shown in the below table. Remember to provide the x-vol-tenant key for authentication in the headers.
Production URL | https://{tenantId}-translation.mozu.com/api/v2/shipment/action/customerCare/ |
Sandbox URL | https://{tenantId}-translation.sandbox.mozu.com/api/v2/shipment/action/customerCare/ |
Supported Formats | JSON |
HTTP Method | POST |
Example
The example case will assign a shipment with the following properties to the CCUI:
- Shipment ID – 090909
- Disposition – “Customer has problem with undeliverable shipment”
Required Parameters
Only one parameter needs to known to move the shipment into the CCUI:
Parameter | Type | Description |
shipmentID | integer | A unique identifier for the shipment. The minimum value is “1”. |
Optional Parameters
The following parameters are optional:
Parameter | Type | Description |
dispositionReason | enum | The reason for the cancellation (CUSTOMER_FAILED_TO_PICKUP, OTHER, etc.). See the schema for the full list of possible values. |
dispositionOtherReason | string | If dispositionReason is ’other’, provide an explanation here. Minimum length is 1 and maximum length is 255. |
The Full Request
This is the entire request that will assign a shipment.
{ "shipmentID": 090909, "dispositionReason": "OTHER", "dispositionOtherReason": "Customer has problem with undeliverable shipment" }
The returned response follows the same structure as the Get Shipment API, providing information about the shipment that was assigned.