Remove a parcel from a consignment

Remove a parcel from a multi-parcel consignment.

The weight of the removed parcel is subtracted automatically from the weight of the consignment.

If the consignment has already been Allocated, the charges are recalculated.

Note: You can also use this operation if the consignment lifecycle status is UnallocatedPrinted, or Ready to manifest. Using the operation does not change the status of a modified consignment.

SecurityBasicAuth
Request
path Parameters
consignmentCode
required
string

Consignment identifier generated by Metapack.

parcelCode
required
string

Parcel code.

Responses
204

Parcel removed from consignment

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict - Parcel cannot be removed because the consignment is in a consignment lifecycle status where it cannot be modified

500

Internal Server Error

delete/consignments/{consignmentCode}/parcels/{parcelCode}
Request samples
Response samples
application/json
{
  • "errorCode": "string",
  • "message": "string",
  • "systemMessage": "string",
  • "traceID": "string",
  • "timestamp": "2019-08-24T14:15:22Z"
}