• 0
Sign in to follow this  
TETE5096340

Onde obtenho o shipment_id para imprimir a etiqueta de envio?

Question

Fiz uma compra utilizando usuários de teste e quero testar a impressão da etiqueta utilizando esse endpoint:

 https://api.mercadolibre.com/shipment_labels?shipment_ids=20178600648,20182100995&response_type=pdf&access_token=

Quando consulto o pedido ele retorna o objeto shipping: 

[shipping] => stdClass Object
        (
            [id] => 27992254280
            [site_id] => MLB
            [shipment_type] => shipping
            [mode] => me2
            [shipping_mode] => me2
            [status] => ready_to_ship
            [substatus] => ready_to_print
            [date_created] => 2019-06-17T15:50:26.000-04:00
            [receiver_address] => stdClass Object

Mas quando tento utilizar o id desse objeto (27992254280) a única resposta que consigo é: 

Missing a valid shipment id value

Estou fazendo algo de errado?

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this