/storesOpen a store with its storefront profile; the caller becomes its owner. Up to 5 stores per collector.
collector.createStore()stores:writeIdempotency-KeyX-Request-Idobject
slugstringrequiredat most 80 characters
namestringrequired2–120 characters
taglinestring or nullat most 640 characters
descriptionstring or nullat most 8000 characters
websitestring or nullat most 300 characters
phonestring or nullat most 160 characters
emailstring or nullat most 200 characters
address_line1string or nullat most 800 characters
address_line2string or nullat most 800 characters
citystring or nullat most 480 characters
regionstring or nullat most 480 characters
postal_codestring or nullat most 80 characters
countrystring or nulllatitudenumber or null-90–90
longitudenumber or null-180–180
hoursobjectrequireddaysobjectrequiredmonarray of [string, string]requiredat most 3 items
tuearray of [string, string]requiredat most 3 items
wedarray of [string, string]requiredat most 3 items
thuarray of [string, string]requiredat most 3 items
friarray of [string, string]requiredat most 3 items
satarray of [string, string]requiredat most 3 items
sunarray of [string, string]requiredat most 3 items
notestring or nullat most 400 characters
specialtiesarray of stringrequiredat most 16 items
shipsbooleanrequiredaccepts_holdsbooleanrequiredhold_daysintegerrequired1–30
logo_pathstring or nullat most 300 characters
banner_pathstring or nullat most 300 characters
201CreatedThe new store’s id and address.
object
storeobjectrequiredidstring (uuid)requiredslugstringrequiredinvalid_requestinvalid_jsoninvalid_idempotency_keyinvalid_slug
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
invalid_slug: The address isn’t allowed (reserved, too short…).
unauthorized: Not signed in (no session or token, or an expired one).
idempotency_in_progressslug_takenstore_limit
idempotency_in_progress: The first request with this key is still running.
slug_taken: Another store has that address.
store_limit: The caller already created 5 stores.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).