Skip to content

Marketplace

View .mdllms.txt

Who the key belongs to and its rules: currencies, languages, what a listing needs, the shipping table, showrooms and warehouses. Generated from the OpenAPI spec. Each endpoint says which key it needs; see Authentication.

Method Path What it does
GET /v1/locations The marketplace’s showrooms and warehouses
GET /v1/marketplace Get the caller’s marketplace

The marketplace’s showrooms and warehouses

Section titled “The marketplace’s showrooms and warehouses”

GET /v1/locations · operation listLocations

Active ones, e.g. for a showroom page.

Auth: a secret or publishable key (Authorization: Bearer sk_… or pk_…)

Responses: 200 ListOutputBody · default a problem

GET /v1/marketplace · operation getMarketplace

The marketplace the API key (or console session) belongs to. Handy for checking a key.

Auth: a secret or publishable key (Authorization: Bearer sk_… or pk_…)

Responses: 200 PublicBody · default a problem

Fields marked * are always present in responses and required in requests.

Field Type Notes
items * SiteBody[]
Field Type Notes
address_search * boolean GET /v1/places/autocomplete works: show an address search. False: have the address typed.
currencies * string[] ISO 4217 codes; the first is the default. Empty until chosen.
id * string
listings * ListingRules What sellers need to know to list
locales * string[] BCP 47 language tags; the first is the default.
name * string
payments * ShopPayments
shipping * ShippingBody Delivery prices by size and zone (empty: listings have their own)
slug * string
term_kinds * TermKindBody[] Kinds of catalogue terms listings refer to, e.g. brand
tracking * TrackingBody What the shop loads to count visits and conversions, and its cookie banner
Field Type Notes
active * boolean
buyer_pickup * boolean Buyers may collect purchases here
city * string
country * string
created_at * string (date-time)
id * string
kind * string one of showroom, warehouse
latitude number (double)
line1 * string
longitude number (double)
name * string
opening_hours string Free text, e.g. Sundays 11–16
place_id string Google’s id for the address
postal_code * string
Field Type Notes
attributes_schema any JSON Schema for the marketplace’s own listing fields (condition, dimensions…). A choice field lists its values in enum, best or most common first; x-labels names them ({“excellent”: “Excellent”}) and x-filter: true asks the shop to offer the field as a filter
min_images * integer Photos needed to go on sale (to be valued, at least 1)
questions_to * string Who answers questions about a listing or an order (POST /v1/me/conversations with listing_id or order_id): the marketplace’s team or the seller. one of team, seller
require_approval * boolean Listings are reviewed before they go on sale
require_category * boolean
required_terms * string[] Term kinds a listing needs, e.g. brand
valuations * boolean Sellers may ask the marketplace to value a listing instead of setting a price
Field Type Notes
cart * boolean Buyers can put several listings, from any sellers, in a cart and pay once (POST /v1/me/checkouts). False: one listing per checkout.
stripe_publishable_key string Load Stripe.js with this key (pk_…): the marketplace’s own Stripe account. Empty until it’s connected: no payments.
Field Type Notes
booking BookingBody When buyers can choose their delivery time
collection map of map of integer Collecting from the seller, by size and the seller’s zone; missing means quoted
currency string The rates’ currency
delivery map of map of map of integer By option, size and the buyer’s zone, in minor units; missing means quoted
free_storage_weeks integer Weeks of storage before the fee starts. ≥ 0; ≤ 104
options ShippingOptionBody[] Delivery services, e.g. standard, white glove
sizes * ShippingSizeBody[]
storage_fees map of integer Per started month, by size, taken from the seller’s payout
zones * ShippingZoneBody[]
Field Type Notes
key * string
names * map of string Per language
Field Type Notes
consent * CookieBannerBody
gtm_container_id string Load Google Tag Manager with this container (GTM-…), after the consent defaults
gtm_script_host string Load gtm.js from this host (a server container) instead of www.googletagmanager.com
plausible_domain string Load Plausible for this site (cookieless: needs no consent)
Field Type Notes
horizon_days * integer How far ahead buyers can book. ≥ 1; ≤ 120
lead_days * integer The earliest slot is this many days after today. ≥ 0; ≤ 30
per_window integer Deliveries per window; 0 is no limit. ≥ 0
time_zone string e.g. Europe/Stockholm (the default)
weekdays * integer[] 1 is Monday, 7 Sunday
windows * BookingWindowBody[]
zones * string[] Zone keys whose buyers book
Field Type Notes
about string
key * string
name * string
Field Type Notes
about string
key * string
name * string
Field Type Notes
countries * string[] ISO codes, e.g. [“SE”]
delivery_time string Shown to buyers, e.g. 2–5 working days
key * string
name * string
postal_prefixes string[] None: the whole countries
Field Type Notes
cookies * BannerCookieBody[]
policy_url * string The privacy policy: a path on the shop or a full address
required * boolean Show the banner: something needs consent (GTM, or cookies listed as statistics or marketing)
version * integer Ask visitors again when it’s above the version they answered
Field Type Notes
key * string
label * string e.g. 08–12
Field Type Notes
category * string one of necessary, statistics, marketing
duration string e.g. 2 years. max 100 chars
name * string max 100 chars
provider string Who sets it, e.g. Google. max 100 chars
purpose string max 500 chars