Properties
| Name | Type | Description |
|---|---|---|
| name | string | Store name |
| description | string | A short description shown under the name |
| phone | string | WhatsApp number that receives orders, country code first |
| logo_url | stringnull | HTTPS image URL from an upload or image import |
| cover_url | stringnull | HTTPS image URL from an upload or image import |
| logo_shape | string | |
| font | string | Headings font: condensed (Fira Sans Condensed), modern (Inter), elegant (Playfair Display), editorial (DM Serif Display), playful (Fredoka) |
| colors | object | Hex colors like #e0520f. primary and secondary carry white text (buttons, badges), accent sits behind dark text (cards), whatsapp colors the WhatsApp buttons |
| corners | string | sharp squares off buttons and cards |
| home_style | string | profile: the bio page (cover, logo, and tabs for the products, links and about). brand: a home built from `blocks` under a header with `navigation`, like an apparel brand's own site |
| topbar | object | The announcement bar above the storefront; it shows while it has lines |
| about_description | string | The about section's text |
| about_media_url | stringnull | The about section's image or video (HTTPS, from an upload: folder about) |
| sections | array | The profile home's tabs in order |
| hidden_sections | array | Tabs to hide |
| preview_product_ids | array | Products the profile home features first |
| product_display | object | How the storefront presents products |
| blocks | array | The brand home, top to bottom |
| navigation | object | The brand home's header and footer |
| pages | array | Pages built from blocks, at /pages/ |
| links | array | The profile home's links. Links left out are deleted |
| collections | array | Groups of products, in order. Collections left out are deleted, except hidden ones, which the editor doesn't show |
| videos | array | Shoppable videos, in order |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ocapi-shop/json-schema/ocapi-shop-storefront-input-schema.json",
"title": "StorefrontInput",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ocapi-shop-openapi.yml#/components/schemas/StorefrontInput",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Store name"
},
"description": {
"type": "string",
"description": "A short description shown under the name"
},
"phone": {
"type": "string",
"description": "WhatsApp number that receives orders, country code first"
},
"logo_url": {
"type": [
"string",
"null"
],
"description": "HTTPS image URL from an upload or image import"
},
"cover_url": {
"type": [
"string",
"null"
],
"description": "HTTPS image URL from an upload or image import"
},
"logo_shape": {
"type": "string",
"enum": [
"circle",
"rounded",
"square"
]
},
"font": {
"type": "string",
"enum": [
"condensed",
"modern",
"elegant",
"editorial",
"playful"
],
"description": "Headings font: condensed (Fira Sans Condensed), modern (Inter), elegant (Playfair Display), editorial (DM Serif Display), playful (Fredoka)"
},
"colors": {
"type": "object",
"description": "Hex colors like #e0520f. primary and secondary carry white text (buttons, badges), accent sits behind dark text (cards), whatsapp colors the WhatsApp buttons",
"properties": {
"primary": {
"type": "string"
},
"secondary": {
"type": "string"
},
"accent": {
"type": "string"
},
"whatsapp": {
"type": "string"
}
}
},
"corners": {
"type": "string",
"enum": [
"rounded",
"sharp"
],
"description": "sharp squares off buttons and cards"
},
"home_style": {
"type": "string",
"enum": [
"profile",
"brand"
],
"description": "profile: the bio page (cover, logo, and tabs for the products, links and about). brand: a home built from `blocks` under a header with `navigation`, like an apparel brand's own site"
},
"topbar": {
"type": "object",
"description": "The announcement bar above the storefront; it shows while it has lines",
"properties": {
"lines": {
"type": "array",
"maxItems": 2,
"items": {
"type": "string"
},
"description": "Up to 2 messages; **bold** works"
},
"background_color": {
"type": "string"
},
"text_color": {
"type": "string"
},
"motion_type": {
"type": "string",
"enum": [
"scroll",
"static"
]
},
"speed": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"spacing": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"alignment": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
}
}
},
"about_description": {
"type": "string",
"description": "The about section's text"
},
"about_media_url": {
"type": [
"string",
"null"
],
"description": "The about section's image or video (HTTPS, from an upload: folder about)"
},
"sections": {
"type": "array",
"items": {
"type": "string",
"enum": [
"store",
"links",
"about"
]
},
"description": "The profile home's tabs in order"
},
"hidden_sections": {
"type": "array",
"items": {
"type": "string",
"enum": [
"store",
"links",
"about"
]
},
"description": "Tabs to hide"
},
"preview_product_ids": {
"type": "array",
"maxItems": 6,
"items": {
"type": "string"
},
"description": "Products the profile home features first"
},
"product_display": {
"type": "object",
"description": "How the storefront presents products",
"properties": {
"card_hover": {
"type": "string",
"enum": [
"zoom",
"swap"
],
"description": "Under the pointer, a product card's photo grows (zoom) or shows the second photo (swap)"
},
"quick_add": {
"type": "boolean",
"description": "Product cards get an add-to-cart button"
},
"new_days": {
"type": "integer",
"enum": [
0,
7,
14,
30
],
"description": "Products this many days old or newer get a New badge; 0 never"
},
"low_stock": {
"type": "integer",
"enum": [
0,
1,
3,
5,
10
],
"description": "Products with this many units or fewer get a Last units badge; 0 never"
},
"note": {
"type": "string",
"maxLength": 120,
"description": "A line under the price on every product page, like Ships in 24 hours"
},
"size_guide": {
"type": [
"string",
"null"
],
"description": "The slug of the page product pages offer as a size guide; a new page's slug is its title in lowercase with hyphens"
},
"related": {
"type": "boolean",
"description": "Product pages end with more products from the category"
},
"recent": {
"type": "boolean",
"description": "Product pages end with the products the visitor saw last"
},
"upsell": {
"type": [
"string",
"null"
],
"description": "A collection id whose products the cart offers to complete the order"
},
"instalments": {
"type": "integer",
"enum": [
0,
2,
3,
4,
6,
12
],
"description": "Product pages show the price split in this many instalments, as the store's payment provider offers them; 0 never"
}
}
},
"blocks": {
"type": "array",
"maxItems": 20,
"description": "The brand home, top to bottom",
"items": {
"$ref": "#/$defs/StorefrontBlock"
}
},
"navigation": {
"type": "object",
"description": "The brand home's header and footer",
"properties": {
"tab_bar": {
"type": "boolean",
"description": "Phones get a bottom bar (home, search, menu, cart) instead of the floating cart button"
},
"floating_header": {
"type": "boolean",
"description": "Over a brand home that opens with a hero, the header floats as a see-through pill on the picture"
},
"popular_searches": {
"type": "array",
"maxItems": 8,
"items": {
"type": "string",
"maxLength": 30
},
"description": "Searches the search panel suggests before the visitor types. Empty: the store's top categories"
},
"menu": {
"type": "array",
"maxItems": 8,
"description": "The header menu. An entry with items opens a panel of links (beside its picture, when it has one) instead of being a link",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"url": {
"type": [
"string",
"null"
],
"description": "A storefront path (/products?category=Shirts, /pages/size-guide) or a web URL"
},
"image_url": {
"type": [
"string",
"null"
],
"description": "HTTPS image URL from an upload or image import"
},
"caption": {
"type": [
"string",
"null"
],
"maxLength": 60,
"description": "A line shown with the entry's picture"
},
"layout": {
"type": "string",
"enum": [
"links",
"tiles"
],
"description": "links: columns of links; tiles: the links as pictures"
},
"items": {
"type": "array",
"maxItems": 24,
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"url": {
"type": [
"string",
"null"
],
"description": "Where it leads; a heading may lead nowhere"
},
"style": {
"type": "string",
"enum": [
"link",
"heading",
"featured"
],
"description": "heading: starts a column under its label; featured: shown apart, in bold"
},
"image_url": {
"type": [
"string",
"null"
],
"description": "The link's picture in the tiles layout"
}
}
}
}
}
}
},
"utility": {
"type": "array",
"maxItems": 4,
"description": "Small links beside the menu on large screens (help, stores, track an order) and under it on phones",
"items": {
"$ref": "#/$defs/StorefrontLink"
}
},
"footer": {
"type": "array",
"maxItems": 4,
"description": "The footer's columns of links",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 40
},
"items": {
"type": "array",
"maxItems": 8,
"items": {
"$ref": "#/$defs/StorefrontLink"
}
}
}
}
}
}
},
"pages": {
"type": "array",
"maxItems": 20,
"description": "Pages built from blocks, at /pages/<slug> on the storefront: a size guide, the store's locations, its policies. Pages left out are deleted",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "A saved page's id (pag_...)"
},
"slug": {
"type": [
"string",
"null"
],
"description": "Read only: set from the title when the page is published, then kept"
},
"title": {
"type": "string",
"maxLength": 60
},
"hidden": {
"type": "boolean"
},
"blocks": {
"type": "array",
"items": {
"$ref": "#/$defs/StorefrontBlock"
}
}
}
}
},
"links": {
"type": "array",
"description": "The profile home's links. Links left out are deleted",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "A saved link's id (lnk_...)"
},
"name": {
"type": "string"
},
"url": {
"type": "string",
"description": "http(s), mailto, tel, sms or whatsapp URL"
}
}
}
},
"collections": {
"type": "array",
"description": "Groups of products, in order. Collections left out are deleted, except hidden ones, which the editor doesn't show",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "A saved collection's id (col_...), or one you make up to refer to a new collection"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"product_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Its products in order"
}
}
}
},
"videos": {
"type": "array",
"maxItems": 5,
"description": "Shoppable videos, in order",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The video's HTTPS URL, from an upload (folder shoppable-videos)"
},
"product_ids": {
"type": "array",
"maxItems": 3,
"items": {
"type": "string"
},
"description": "Products shown with the video"
}
}
}
}
},
"$defs": {
"StorefrontBlock": {
"type": "object",
"required": [
"type"
],
"description": "One block of the brand home or a page. `type` decides which other fields it uses:\n\n| type | fields |\n| --- | --- |\n| `hero` | `autoplay`, `items`: up to 5 slides (`image_url` required, `mobile_image_url`, `video_url`, `title`, `button_label`, `url`) |\n| `products` | `title`, `source`, `collection_id` (with `source: collection`), `category` (a category name, with `source: category`), `autoplay` |\n| `collections` | `title`; shows the store's collections |\n| `videos` | `title`; shows the shoppable videos |\n| `tiles` | `title`, `items`: up to 6 (`image_url`, `title`, `subtitle`, `url`) |\n| `banner` | `image_url`, `video_url`, `title`, `text`, `button_label`, `url`, `image_side`, `color` |\n| `text` | `title`, `text` (Markdown), `image_url` |\n| `logos` | `title`, `items`: up to 24 (`image_url` required, `url`) |\n| `newsletter` | `title`, `text`, `button_label`: an email sign-up; List subscribers returns who signed up |\n| `shelf` | `title`, `items`: up to 4 tabs (`label`, `source`, `collection_id`, `category`), each a row of products picked as a `products` block picks them |\n| `split` | `items`: up to 2 pictures side by side (`image_url`, `title`, `text`, `button_label`, `url`) |\n| `steps` | `title`, `text`, `items`: up to 6 numbered steps (`title`, `text`) |\n| `mosaic` | `title`, `text`, `items`: up to 5 photos (`image_url` required, `url`); five make a collage, the first large |\n| `cards` | `title`, `items`: up to 6 story cards (`image_url`, `title`, `text`, `button_label`, `url`) |\n| `cta` | `title`, `text`, `button_label`, `url`, `color`: a colored strip without a picture |\n| `table` | `title`, `text`, `unit` (`cm`, `in` or null), `rows`: up to 16 rows of up to 8 cells (strings of up to 30 characters), the first row the header; with a unit, shoppers switch between cm and inches (only the columns whose header names the unit, like `Chest (cm)`, when any does; else every column after the first). `|` is removed from cells. A size guide |\n| `video_embed` | `title`, `text` (up to 240 characters), `embed_url`: a YouTube (`youtube.com/watch?v=`, `youtu.be/`, `/shorts/`, `/embed/`, `/live/`) or Vimeo video link, `image_url`: an optional cover. The storefront loads the youtube-nocookie.com or Vimeo player only when the shopper clicks the cover |\n| `social_embed` | `title`, `embed_url`: an Instagram post or reel (`instagram.com/p/<code>/`, `/reel/<code>/`) or a TikTok video (`tiktok.com/@<account>/video/<id>`), `image_url`: an optional cover. The site's embed loads only when the shopper clicks |\n| `countdown` | `title`, `ends_at` (a date and time without a zone, read in the store's time zone), `ended_text` (shown once it ends; without it the block hides then), `button_label`, `url`. Linked to a visible drop's page (`/products/<id>`) without `ends_at`, it counts down to the drop's `available_at` |\n| `map` | `title`, `address`, `lat` and `lng`: the map shows when there's a point; an address alone gets Google Maps and Waze directions links. With neither, the store's first pickup location's address |\n\nTitles are cut at 80 characters, subtitles at 60, item texts at 240, texts at 1000 and button labels at 30.\n",
"properties": {
"type": {
"type": "string",
"enum": [
"hero",
"products",
"collections",
"videos",
"tiles",
"banner",
"text",
"logos",
"newsletter",
"shelf",
"split",
"steps",
"mosaic",
"cards",
"cta",
"table",
"video_embed",
"social_embed",
"countdown",
"map"
]
},
"hidden": {
"type": "boolean",
"description": "Kept in the list but not shown"
},
"title": {
"type": "string"
},
"text": {
"type": "string"
},
"image_url": {
"type": [
"string",
"null"
],
"description": "HTTPS image URL from an upload or image import"
},
"url": {
"type": [
"string",
"null"
],
"description": "A storefront path (/products?category=Shirts, /pages/size-guide) or a web URL"
},
"button_label": {
"type": "string"
},
"image_side": {
"type": "string",
"enum": [
"left",
"right"
],
"description": "Banner picture side"
},
"video_url": {
"type": [
"string",
"null"
],
"description": "A banner's mp4, mov or webm video, played muted on a loop over its picture"
},
"color": {
"type": [
"string",
"null"
],
"description": "Banner or call-to-action background, a hex color like #fef3c7"
},
"source": {
"type": "string",
"enum": [
"featured",
"newest",
"sale",
"collection",
"category"
],
"description": "Which products a products block shows"
},
"collection_id": {
"type": [
"string",
"null"
],
"description": "A collection's id, from `collections`"
},
"category": {
"type": [
"string",
"null"
],
"description": "A category name"
},
"autoplay": {
"type": "boolean",
"description": "Slides advance on their own"
},
"unit": {
"type": [
"string",
"null"
],
"enum": [
"cm",
"in",
null
],
"description": "A table's unit of measure, for its cm/inch switch"
},
"rows": {
"type": "array",
"description": "A table's rows, each a list of cells; the first row heads the table",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"embed_url": {
"type": [
"string",
"null"
],
"description": "A video_embed's YouTube or Vimeo link, or a social_embed's Instagram or TikTok link, kept in its canonical form; other links are refused"
},
"ends_at": {
"type": [
"string",
"null"
],
"description": "A countdown's end, like 2026-12-24T18:00, in the store's time zone"
},
"ended_text": {
"type": "string",
"description": "A countdown's line once it ends, cut at 240 characters"
},
"address": {
"type": "string",
"description": "A map's address, cut at 200 characters"
},
"lat": {
"type": [
"number",
"null"
],
"minimum": -90,
"maximum": 90,
"description": "A map point's latitude, sent with lng"
},
"lng": {
"type": [
"number",
"null"
],
"minimum": -180,
"maximum": 180,
"description": "A map point's longitude, sent with lat"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"image_url": {
"type": [
"string",
"null"
],
"description": "HTTPS image URL from an upload or image import"
},
"mobile_image_url": {
"type": [
"string",
"null"
],
"description": "A hero slide's picture for phones; the image_url when left out"
},
"video_url": {
"type": [
"string",
"null"
],
"description": "A hero slide's mp4, mov or webm video, played muted on a loop over its picture"
},
"title": {
"type": "string"
},
"subtitle": {
"type": "string"
},
"text": {
"type": "string",
"description": "A split picture's",
"story card's or step's few words": null
},
"button_label": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
],
"description": "A storefront path (/products?category=Shirts, /pages/size-guide) or a web URL"
},
"label": {
"type": "string",
"description": "A shelf tab's name; the source's name when left out"
},
"source": {
"type": "string",
"enum": [
"featured",
"newest",
"sale",
"collection",
"category"
],
"description": "Which products a shelf tab shows"
},
"collection_id": {
"type": [
"string",
"null"
],
"description": "A shelf tab's collection id, with `source: collection`"
},
"category": {
"type": [
"string",
"null"
],
"description": "A shelf tab's category name, with `source: category`"
}
}
}
}
}
},
"StorefrontLink": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"url": {
"type": [
"string",
"null"
],
"description": "A storefront path (/products?category=Shirts, /pages/size-guide) or a web URL"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ocapi-shop-storefront-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.