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.

mock?

Options of the mock namespace: a free-form object until the marketplace declares its own.

mercadolivre?

Options of the Mercado Livre namespace of marketplaceOptions. An unknown key is refused.

magalu?

Options of the magalu namespace: a free-form object until the marketplace declares its own.

amazon?

Options of the amazon namespace: a free-form object until the marketplace declares its own.

tiktok?

Options of the tiktok namespace: a free-form object until the marketplace declares its own.

shopee?

Options of the shopee namespace: a free-form object until the marketplace declares its own.

curl -X GET "https://example.com/v1/listings/497f6eca-6276-4993-bfeb-53cbbbba6f08/marketplace-options"
{  "mercadolivre": {    "listingTypeId": "gold_special",    "saleTerms": {      "WARRANTY_TYPE": "2230280"    }  }}