This API gives a lot of information about your parcel and the delivery through the webhooks and the status endpoint. This is a description of the different parameters of this API.
Failure reason
When present, it means the delivery has been rejected. These are the list of values:
payment_method_declined: There is a problem with your payment method, and the delivery has not been accepted. Check your payment methods in the business webno_payment_methods: There is no payment method configured. Check your payment methods in the business webrequester_no_found_or_unauthorized: The requester sent in this request is not valid.invalid_pick_up_location: There is no fleet available for your delivery area, or it's not properly configured. Please get in touch with the Logistics Team to check if we can cover your delivery area.delivery_already_exists: This parcel has been delivered already.unknown: Something has happened but, unfortunately, we haven't detected the reason. If the problem persists, please get in touch with the Logistics Team.
Delivery attempt fail reason
The dropoff process has failed because of this reason:
recipient_not_found: The recipient is not present at the dropoff point.rejected: The parcel has been rejected by the recipient.wrong_address: The dropoff address is wrong.zone_unsafe: The driver has refused to enter the dropoff area because is not safe enough.invalid_proof: The recipient has not provided the required code to deliver the parcel. It will be required when this proof is configured. Proofs of deliveryother: The driver has not delivered the parcel because of another different reason.
Pickup failed reason
The pickup process has failed because of this reason:
sender_no_show: The sender is not present.sender_too_late: The parcel is not ready for pick up.address_wrong: The pickup address is wrong.address_not_found: The driver is not able to find the pickup point.address_unsafe: The driver has refused to enter the pickup area because is not safe enough.parcel_suspicious: The driver has refused to pick up the parcel because of the content.parcel_packaging: The parcel is not correctly packed.pacel_too_big_or_heavy: The parcel can't be carried in the driver's vehicle because of its weight or dimensions.payment_requested: The driver has refused the delivery because the sender has requested some kind of payment.payment_fake: The sender is trying to pay for the delivery using fake money.place_closed: The pickup point is closed.delivery_not_found: The parcel requested by the driver is not found by the sender.already_picked_up: The parcel requested by the driver has been picked up by another driver by mistake.delivery_cancelled: The sender has canceled the delivery.other_with_feedback: Another different reason. You can find it in thedriver_commentsfield.
