Add a product to a parcel

Add a product to a parcel of an existing consignment.

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.

Request Body schema: application/json
required
object (Item)

Trade items are the goods being shipped. Enter data about each trade item in a parcel.

Responses
200

Successfully amended items

400

Bad Request

401

Unauthorized

403

Forbidden

409

Conflict - Wrong state for adding a product to a parcel

500

Internal Server Error

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