Listings

Get marketplace options

Returns the marketplace-specific options saved on the listing.

GET
/v1/listings/{listingId}/marketplace-options

Returns the saved map, by marketplace namespace (for example { "mock": { ... } }). These are the persistent options of the local intent; the ones for a single order (oneTimeMarketplaceOptions) do not appear here.

To change them, use Update marketplace options.

Authorization

api_key
headerAuthorizationBearer <token>

API key (mk_...)

Path Parameters

listingId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

The persistent options, under the connected marketplace namespace. Every publication sends them.

application/json
  1. response

Namespaced persistent options validated against the connected marketplace capability.

[key: string]?
curl -X GET "https://example.com/v1/listings/497f6eca-6276-4993-bfeb-53cbbbba6f08/marketplace-options"
{  "mercadolivre": {    "saleTerms": [      {        "id": "WARRANTY_TYPE",        "value": "123"      }    ]  }}