Description Usage Arguments Details Examples
View the data associated with a listing
1 2 3 4 5 | get_listing(
listing_id,
options = list(),
token = NA
)
|
listing_id |
The ID of the listing you are fetching |
options |
(optional) Parameters, see Details |
token |
(optional) Token object obtained from authorize() or a string containing your personal access token |
If the authorized user is the listing owner the listing will include the weight, format_quantity, external_id, and location keys. If the user is authorized, the listing will contain a in_cart boolean field indicating whether or not this listing is in their cart.
1 2 3 | listing <- get_listing(1)
listing <- get_listing(1, options = list("curr_abbr" = "EUR"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.