Did you find this information useful?
Yes
No
Print/get order coupon/proximity-integration/shipments/{shipment_id}/print_label_pdfThis endpoint is used to accept an order and, in addition, it returns the PDF file for the order coupon. This endpoint can be used if it is not necessary to develop a custom coupon for the POS.
GET
Products that use it:
Request's parameters
shipment_idstring
Localization: pathShipment ID of the order.REQUIRED
Response parameters
Request
curl
curl -X GET \
'https://api.mercadopago.com/proximity-integration/shipments/{shipment_id}/print_label_pdf' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
Answer
json
{}
Errors
401bad_request
401
403bad_request
403 Forbidden - User cannot access this resource
424bad_request
424 Not Found - Failed to get some information of the order
500bad_request
500 Internal server error