Shipping Label Service

How do I get my Shipping label?

Skyhub provides an endpoint to consume the service to obtain the shipping label for the services B2W Entrega and Mercado Envios 2 of Mercado Livre.

For your platform take advantage of this integration is necessary to follow the steps below:

Use the GET method at the following endpoint:

https://api.skyhub.com.br/orders/{code}/shipment_labels

Check in our API explorer

There are two ways to get the B2W Entrega service tag that must be configured in the request header, to get the tag in JSON, or in PDF the header accept must have one of the following values:

Application/json - To get the label in Json format

Label example in JSON format

Application/pdf - To get the label in PDF format

Label example in PDF

B2W Entregas by Direct models

If you use the By Direct freight strategy, it is mandatory that the information in the "megaRota" field is identified on the label.

Label in JSON format

Label in PDF format

To identify the order shipping method, just check the field: "calculation_type". If the field has the value "b2wentregacorreios" or "b2wentregadirect" the update must be made until the billed status. From billed all dealings are done via B2W.

There are two ways to get the Mercado de Envios 2 label that must be configures in the request header. To get the label in PDF format or in ZIP, the header accept must have one of the following values:

  • Application/pdf - To get the label in PDF format

  • Application/zip - To get the label in ZIP format

For options in PDF and Zip will be available a file in the format requested.

If there is any question send an e-mail to api@skyhub.com.br

Last updated

Was this helpful?