Obter cupom do pedido - Pedidos de entrega - 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.
Parâmetros de requisição
shipment_id

OBRIGATÓRIO

string
Localização: pathUnique ID that identifies the shipment of the order to be performed by the operations to accept and print an order.
Parâmetros de resposta
Esta requisição não tem resposta.
Solicitação
curl
curl -X GET \
      'https://api.mercadopago.com/proximity-integration/shipments/{shipment_id}/print_label_pdf' \
      -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Resposta
json
{}
Erros
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