Bookmarks

The Bookmarks feature explains itself, being a way to keep the items you’re interested associated to a user.
You can manage bookmarks through the Bookmarks API Resource, adding or removing references, which are synchronized with mobile apps.

Contents:

Get your bookmarks

Use the following url In order to retrieve your bookmarks:
Example:

curl -X GET https://api.mercadolibre.com/users/me/bookmarks?access_token=...

Response:

[
  ....
  {
	"bookmarked_date": "2012-07-20T10:22:04.736-04:00",
	"item_id": "MLA428108770",
  },
  {
	"bookmarked_date": "2012-07-17T16:46:46.079-04:00",
	"item_id": "MLA428424006",
  },
  {
	"bookmarked_date": "2012-07-13T16:41:43.937-04:00",
	"item_id": "MLA428112474",
  },
  ....
]

Bookmark an item

To bookmark an item, do as it follows:

Example:

curl -X POST -H "Content-Type: application/json" -d
'{
   	"item_id":"MLA5529"
 }'

"https://api.mercadolibre.com/users/me/bookmarks?access_token=$ACCESS_TOKEN"

Remove-a-bookmark

Bookmarks can be removed any time you want by simply deleting the reference.

Example:

curl -X DELETE "https://api.mercadolibre.com/users/me/bookmarks/MLA605670642?access_token=$ACCESS_TOKEN"



Next topic: Check account balance.

Please rate this