• 0
thalestgr

ID do cliente

Question

Como eu consigo descobrir o ID ou do usuário que está fazendo a pergunta?

 

Estou fazendo conforme a documentação informa:

 

curl -X GET https://api.mercadolibre.com/questions/{Question_id}?access_token=ACCESS_TOKEN

 

Apenas retorna esse objeto, mas onde encontro o ID do Usuário?

 

Esse é o retorno.

["id"]=>float(3938176399)
["answer"]=>NULL
["date_created"]=>string(29) "2016-02-16T20:52:15.000-04:00"
["item_id"]=>string(12) "MLB741883720"
["seller_id"]=>int(41502974)
["status"]=>string(10) "UNANSWERED"
["text"]=>string(7) "teste13"

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Bom dia!

 

Você deve selecionar o tipo de pergunta e segundo a documentação pode ser: 

 

unanswered

answered

closed_unanswered

under_review

 

Conforme a documentação: http://developers.mercadolibre.com/questions/

 

Eu uso o seguinte link para isto:

 

https://api.mercadolibre.com/my/received_questions/search?access_token=".$token.'&'.'status=unanswered';

 

Espero ter ajudado.

 

Abraços.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...