Integration Guide
You accessed this documentation through the integration guide. Click "Back" to track your progress.

Carrier Branch to Buyer Address

Introduction

This is a last mile leg. The package is already at the carrier's branch and needs to be delivered to the final recipient. The carrier is responsible for the full last mile operation: loading, routing, attempting delivery, and handling any delivery issues.

Multiple delivery attempts may be needed if the recipient is absent or if there are address issues. The carrier may also make the package available for pickup at a branch if delivery to the address is not possible.

What the carrier needs to know:

  • This is the final leg before the package reaches its recipient — getting this right directly impacts the buyer experience.
  • Delivery problems (absent recipient, wrong address, unauthorized person) are non-final: the carrier should attempt delivery again.
  • If the package cannot be delivered after all attempts, it may enter a return flow back to the seller.
  • The carrier must communicate each delivery attempt clearly, whether successful or not.

The shipment notifications must be sent to this endpoint:

bash
1POST 'https://api.mercadolibre.com/shipments/{shipmentId}/notifications' 2--header 'Authorization: Bearer {accessToken}'

Notifications

Code
Description
Comments
0201Package dispatched from carrier branchFirst status code sent by the carrier after the seller drops off the package at the carrier's branch and it is dispatched for transport.
0271Entry into carrier logistics centerThe package has arrived and been checked into a carrier logistics center for processing.
0273Exit from carrier logistics centerThe package has departed from the carrier logistics center heading to the next destination in the route.
0211In transitThe package is in transit between logistics centers or on route to its destination.
0227Out for deliveryThe package has left the carrier's facility and is on its way to the buyer's address for last mile delivery.
0233Next to deliverThis event must be notified when the shipment in question is next in line to be delivered.
0401DeliveredThe package was successfully delivered to the recipient. Releases money to the seller.
0215Ready for pickup at branchThe package is available for the recipient to collect at a carrier branch or post office.
0229Arrived at address — package rejectedThe delivery was attempted but the recipient refused to accept the package at the address.

Transportation Problems

Events that may occur while the package is in transit. Not final events; once resolved, the package resumes its normal flow.

Code
Description
Comments
0209Inaccessible areaThe route or location is inaccessible (e.g. flooded road, blocked access), preventing the carrier from transporting the package via the normal route.
0231Delayed shipmentThe shipment has been delayed and will not arrive within the originally estimated timeframe.
0255Under review due to incidentThe type of incident the shipment had is not yet known. The carrier is investigating before sending a more specific event.
0243Documentation issueLack of documentation prevents the package from proceeding on its way.
0245Held for inspectionThe inspection authority holds the package for inspection. Example: smuggling inspection.
0248Missing tax/fee paymentSome tax/fee needs to be paid for the package to continue its journey.

Delivery Problems

Most commonly occur while the package is in transit to the buyer's address. Not final events; can be reported multiple times as the carrier makes new delivery attempts.

Code
Description
Comments
0210Dangerous delivery zoneThe delivery area is classified as dangerous, preventing normal delivery operations at that location.
0223Recipient absentDelivery was attempted but the recipient was not present at the address at the time of delivery.
0235Incorrect delivery addressThe address on file is incorrect or incomplete, preventing the carrier from completing the delivery.
0241Person not authorized to receive packageThe person present at the delivery address is not authorized to receive the package on behalf of the recipient.
0253Did not arrive at address in timeThe carrier was unable to reach the delivery address within the agreed time window for that day.
0247Consultation with carrier requiredAn issue requires the carrier to be contacted directly for clarification or resolution before delivery can proceed.

Incidents

Issues that permanently prevent delivery. Once received, the shipment lifecycle ends and no further notifications should be sent. Triggers immediate financial actions.

Code
Description
Comments
0607Held by authorityHeld by fiscal authority due to lack of documentation. Returns money to the buyer; case reviewed with seller.
0617TheftThe package was stolen during transport. Returns money to the buyer and pays insurance to the seller.
0619Total damageThe package was completely damaged and cannot be delivered. Returns money to the buyer and pays insurance to the seller.
0623Total lossThe package was totally lost and cannot be located. Returns money to the buyer and pays insurance to the seller.
0631ConfiscatedConfiscated because the sender shipped a dangerous and/or prohibited substance. Returns money to the buyer.