get_seller_items: Get items listed by a given seller.

Description Usage Arguments Value

View source: R/items_and_search.R

Description

Get items listed by a given seller.

Usage

1
2
3
4
5
6
7
8
get_seller_items(
  site_id,
  nickname = NULL,
  seller_id = NULL,
  category_id = NULL,
  offset = 0,
  sort = 0
)

Arguments

site_id

Required. site_id of the country of interest. See mercadolibreR::get_site_ids() for valid site_ids.

nickname

Optional-ish. Must provide either nickname or seller_id argument. Nickname of seller of interest.

seller_id

Optional-ish. Must provide either nickname or seller_id argument. seller_id of seller of interest.

category_id

Optional. Will limit results to those in the category of interest. See mercadolibreR::get_categories() for valid category_ids.

offset

Optional. Default is zero. Maximum is 1000. Starting point from which to return records. For example, to receive the 51st to 100th records, offset = 50.

sort

Optional. Default is zero. How to sort results. 0 = by relevance; 1 = by price, ascending; 2 = by price, descending.

Value

Returns a list() of information associated with fifty items listed under the given category. Fields include sold_quantity, available_quantity, title, permalink, tags, seller, etc. See the API documentation for more information.


njcorona/mercadolibreR documentation built on July 19, 2020, 3:21 p.m.