Get order coupon - Shipping orders - Mercado Pago Developers
Print/get order coupon

GET

/proximity-integration/shipments/{shipment_id}/print_label_pdf
This 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.
Request's parameters
shipment_id

REQUIRED

string
Localization: pathShipment ID of the order.
Response parameters
This request has no response.
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 Unauthorized - Access Token is invalid
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