Cancel Guide
This guide allows you to cancel a shipping label using the DrEnvío API.
Environments
DrEnvio API supports two environments: Production and Sandbox.
Production Environment The production environment is where actual shipments are processed. To use the production API, send your requests to the following URL:
Sandbox Environment The sandbox environment is used for testing purposes. It provides simulated data to help you develop and test your integration before moving to production. To use the sandbox API, send your requests to the following URL:
API request
To cancel the shipping label, send a POST request with a JSON body like this:
Fields description
Field | Description | Type | Required |
---|---|---|---|
trackingNumber | The tracking number of the shipment you want to cancel | string | true |