Envia icon

Envia

Interact with the Envia shipping API for Latin America

Shipment → Cancel

AI-generated

Summary

Cancel a shipment with the given carrier and tracking number.

Inputs

  • carrier (required) — Carrier code (e.g. dhl, fedex). Sent as request body property.
  • trackingNumber (required) — The tracking number of the shipment to cancel. Sent as request body property.

Output shape

The Envia API response for the cancel operation, typically containing status and confirmation details.

Both carrier and trackingNumber are required. The operation issues a POST request to /ship/cancel/ relative to the configured environment base URL (production: https://api.envia.com, test: https://api-test.envia.com). Additional node-level settings (environment, allowUnauthorizedCerts, proxy, timeout, requestOptions) configure the request but do not change the core cancel behavior.

Links

Discussion