> ## Documentation Index
> Fetch the complete documentation index at: https://docs-stage.bglobale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Void Parcel

> The Void Parcel API lets you take out a declared parcel if you do not intend to send it or if it needs to be updated due to changed shipment requirements.

The Void Parcel API lets you take out a declared parcel if you do not intend to send it or if it needs to be updated due to changed shipment requirements.

<Note>
  At least one order ID should be provided in the request — the Global-e `OrderId` or the merchant's `MerchantOrderId`.
</Note>

The endpoint is `POST /Parcel/VoidParcel`. Parameters: `OrderId` (mandatory) — order unique identifier; `ParcelCode` (mandatory) — code used to identify the ParcelCode to void; `MerchantOrderId` — the merchant's order unique identifier.

<div className="api-ref-card">
  <Card title="Void Parcel — full request & response" icon="code" href="/api-reference/void-parcel">
    Parameters, schema, examples, and the interactive playground for `POST /Parcel/VoidParcel`.
  </Card>
</div>

## Error Handling

| Error Code | Error Text                                                                                                                                                                                            | Additional Information                                                                             |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| C100       | The parcel cannot be voided due to the status of the parcel. For a Global-e operated hub, only the following statuses can be voided: Failed Transfer To Shipping; Shipped By Merchant                 | This is the error in case the hub is operated by Global-e and the parcel has the wrong status.     |
| C101       | The parcel cannot be voided due to the status of the parcel. For merchant-operated hubs, only the following statuses can be voided: Failed Transfer To Shipping; Shipped By Merchant; Received In Hub | This is the error in case the hub is operated by the Merchant and the parcel has the wrong status. |
| C102 (Log) | The parcel was voided, but the shipper's API to cancel the shipment failed. The following information is available from the shipper. Error code: `<shipper error code>`; Error text: `<error text>`   | The API succeeds (IsSuccess=True). Add it to the log and to the relevant field in the response     |
| C103       | Internal unknown failure                                                                                                                                                                              | -                                                                                                  |
| C104       | The parcel code was not found, or the parcel was already voided                                                                                                                                       | -                                                                                                  |
