Saltar al contenido
SendIt está en desarrollo y todavía no opera comercialmente · SendIt is in development and not yet commercially available.
SendItdocs
English
Esc
navigateopen⌘Jpreview
En esta página

SendIt documentation

One REST API to quote, generate labels, and track shipments with every major Mexican carrier.

SendIt is shipping infrastructure for Mexico. One REST API connects your business to the country’s major carriers (paqueterías). You get real-time rates, label generation, and normalized tracking. Prices are in Mexican pesos, and you fund by SPEI transfer.

Every request goes to the same base URL:

https://api.sendit.mx/v1

And every response uses the same envelope:

{
  "success": true,
  "data": { "...": "..." },
  "meta": { "...": "..." }
}

Start here

The essential flow

Your integration reaches its first label in three steps:

  1. Create a shipment. POST /v1/shipments returns the shipment and rates[] in one response. rates[] holds quotes from every available carrier.
  2. Pick a rate. Each rate carries an id, a tax-inclusive breakdown, and the estimated delivery time. The total you see is what your wallet is charged.
  3. Buy the label. POST /v1/shipments/:id/label with the chosen rateId returns the PDF label and the tracking number.

If you already know your carrier, or want the cheapest, buy the label in one call with the purchase object. See One-call buy.

curl -X POST https://api.sendit.mx/v1/shipments \
  -H "X-API-Key: sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
    "from": { "contactName": "Almacén CDMX", "contactPhone": "+5215512345678",
              "street": "Av. Insurgentes Sur", "exteriorNumber": "1602",
              "neighborhood": "Crédito Constructor", "city": "Ciudad de México",
              "state": "CDMX", "postalCode": "03940", "country": "MX" },
    "to":   { "contactName": "María López", "contactPhone": "+5213312345678",
              "street": "Av. López Mateos", "exteriorNumber": "45",
              "neighborhood": "Jardines del Sol", "city": "Zapopan",
              "state": "JAL", "postalCode": "45050", "country": "MX" },
    "parcel": { "length": 30, "width": 20, "height": 15, "weight": 2.5 }
  }'

Explore by topic

¿Te ha resultado útil esta página?