Remove the consolidation of a parcel with an outer consignment
You can delete the relationship between two consignments that are linked as "inner" (child) and "outer" (parent) consignments.
Remove parcel consolidation request
You need the following to make a remove parcel consolidation request.
Parameter | Value | Description |
---|---|---|
status |
UNALLOCATED orALLOCATED orPRINTED orREADY TO MANIFEST |
The consignment lifecycle status. |
consignmentCode |
The consignment identifier of the inner consignment that contains the parcel that you want to unlink from a parcel in the outer consignment. This is generated by Metapack when a consignment is created. |
|
parcelCode |
The parcel identifier (barcode) of the parcel in the inner consignment that you want to unlink from a parcel in the outer consignment. |
Using the Remove the consolidation of a parcel with an outer consignment operation, enter the following information:
-
The
consignmentCode
of the relevant inner consignment -
The
parcelCode
of the parcel in the inner consignment that you want to unlink from a parcel in an outer consignment
Example request
DELETE /shipping/v1/consignments/{consignmentCode}/parcels/{parcelCode}/consolidate HTTP/1.1
Host: api.metapack.com
API-Key: Basic Base64-encoded <username>:<password>
Content-Type: application/json
Remove parcel consolidation response
240
(No Content)
The status
of both consignments is not affected.