Delete consignment allocation

Delete the allocation of a consignment to a subscribed carrier service and leave it Unallocated.

Note: You can use this operation if the consignment lifecycle status is AllocatedPrinted, or Ready to manifest.

To verify that the consignment is Unallocated, use the Get a consignment operation.

To reallocate the consignment, use the Allocate a consignment operation.

SecurityBasicAuth
Request
path Parameters
consignmentCode
required
string

Consignment identifier generated by Metapack.

Responses
204

Allocation deleted

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict - Allocation cannot be deleted because the consignment is not in the correct consignment lifecycle status

500

Internal Server Error

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