• 0
alexandredsimoes

Como listar as perguntas que eu fiz?

Question

3 answers to this question

Recommended Posts

  • 0

se voce ingresar aquim: http://developers.mercadolibre.com/questions/

voce pode olhar que nao é possiveil fazer uma consulta do jeito que voce quer fazer.

 

o API do Mercadolivre, só permite 2 metodos:

   "methods": [
        {
            "method": "GET",
            "example": "/questions/search",
            "description": "Search for questions and filter by attributes.
                            Possible filter attributes: item, seller, from, status,
                            period, sort_fields, sort_types: ASC|DESC"
        },
        {
            "method": "GET",
            "example": "/my/received_questions/search",
            "description": "Questions received by a user."
        }
    ], 

é um pouco estraño, porque voce pode fazer perguntas, mais parece que é assim.

 

se voce quer fazer uma pergunta, pode asim:

curl -i -X POST -H "Content-Type: application/json" -d
'{
"text":"Do you have these shoes in red?",
"item_id":"MLA123456"
}'

https://api.mercadolibre.com/questions/{Item_Id}?access_token=$ACCESS_TOKEN

Share this post


Link to post
Share on other sites

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