Remove products from a parcel

Remove the products (items) from the parcel.

Note: You can use this operation if the consignment lifecycle status is Unallocated, AllocatedPrinted, 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 identifier generated by Metapack.

itemRef
required
string

Unique reference used for the product/item in the parcel.

query Parameters
quantityToDelete
integer

Quantity of products to be deleted. If not provided, it will be defaulted to 1.

Responses
204

Successfully deleted items

400

Bad Request

401

Unauthorized

403

Forbidden

409

Conflict - Wrong state for deleting products from a parcel

500

Internal Server Error

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