This manual contains all the public routes of the Mienvío API.
Authentication
To authenticate with the API, you just need to enter the api_key assigned to your account in the request header as follows:
Authorization: Bearer {{api_key}}
Environment Types
You can work in sandbox or production mode.
In sandbox mode, you can make all the requests you need, and you can even simulate creating shipments at no cost.
In production mode, you can interact in the same way, but purchases will immediately generate charges to your registered payment method.
Production
To use this environment, you only need to ensure that your requests are sent to the following endpoint:
Production → https://production.mienvio.mx/api