Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| sku | stringnull | Unique code within the store |
| description | stringnull | |
| category | stringnull | Category name |
| label | stringnull | The merchant's own tag on the product's storefront card, like Best seller; null when it has none |
| model_note | stringnull | A line about the model in the photos, shown beside the sizes, like Model is 1.78 m and wears an M |
| story_page_id | stringnull | One of the store's pages, shown full width under the product's buy panel; null when it has none |
| look_product_ids | array | Other products of the look, offered together on the product page (shop the look) |
| details | array | Titled sections under the description on the product page, like Materials & care |
| hidden | boolean | Whether the product is hidden from the storefront |
| hide_price | boolean | Whether the storefront shows 'ask for price' instead of the price |
| inventory | integernull | null is unlimited, 0 is sold out |
| variant_type | string | What the variants differ by |
| search_hints | stringnull | Extra words that help shoppers find the product |
| position | integernull | Place in the storefront order |
| price | numbernull | The regular price; null with hide_price or "ask for price" |
| sale_price | numbernull | The discounted price while on sale |
| cost | numbernull | What one unit costs the merchant (null when not set). Only the store's owners get it |
| tax_rate | numbernull | Its own tax rate in percent; null uses its category's or the store's |
| weight | numbernull | What one unit weighs in kilograms, for shipping priced by weight; every variant weighs the same. null when not set |
| image_urls | array | Images in display order |
| video_url | stringnull | A video shown on the product page after the first image |
| properties | array | What shoppers filter the store's products by, like Fit Slim or Fabric Cotton |
| colors | array | The colors shoppers pick from; empty when the product has none |
| variants | array | |
| url | string | The product's page on the storefront |
| addons | array | |
| combos | arraynull | |
| bulk_discount | object | |
| bogo | object | |
| booking | object | How the product is booked, when it's a bookable service |
| available_at | stringnull | A drop's launch: until then the storefront shows a countdown and a Notify me button, and checkout refuses it. null sells it now |
| preorder | object | |
| deposit | object | The deposit checkout asks for on this product, over the store's (deposits in the checkout settings); null leaves it to the store's |
| subscription | object | "Subscribe and save": customers can have it delivered on a schedule (listSubscriptions); null when it's only sold once |
| waitlist_count | integer | Customers waiting to be told when it's back in stock or launches |
| license_keys | object | The key pool of a digital product that delivers a license key per unit sold (see addLicenseKeys); null for other products |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ocapi-shop/json-schema/ocapi-shop-product-schema.json",
"title": "Product",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ocapi-shop-openapi.yml#/components/schemas/Product",
"type": "object",
"required": [
"id",
"name",
"sku",
"description",
"category",
"label",
"hidden",
"hide_price",
"inventory",
"variant_type",
"search_hints",
"position",
"price",
"sale_price",
"image_urls",
"colors",
"variants",
"url",
"addons",
"combos",
"bulk_discount",
"bogo",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"sku": {
"type": [
"string",
"null"
],
"description": "Unique code within the store"
},
"description": {
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
],
"description": "Category name"
},
"label": {
"type": [
"string",
"null"
],
"description": "The merchant's own tag on the product's storefront card, like Best seller; null when it has none"
},
"model_note": {
"type": [
"string",
"null"
],
"description": "A line about the model in the photos, shown beside the sizes, like Model is 1.78 m and wears an M"
},
"story_page_id": {
"type": [
"string",
"null"
],
"description": "One of the store's pages, shown full width under the product's buy panel; null when it has none"
},
"look_product_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other products of the look, offered together on the product page (shop the look)"
},
"details": {
"type": "array",
"description": "Titled sections under the description on the product page, like Materials & care",
"items": {
"$ref": "#/$defs/ProductDetail"
}
},
"hidden": {
"type": "boolean",
"description": "Whether the product is hidden from the storefront"
},
"hide_price": {
"type": "boolean",
"description": "Whether the storefront shows 'ask for price' instead of the price"
},
"inventory": {
"type": [
"integer",
"null"
],
"description": "null is unlimited, 0 is sold out"
},
"variant_type": {
"type": "string",
"enum": [
"size1",
"size2",
"color",
"material",
"other",
"none"
],
"description": "What the variants differ by"
},
"search_hints": {
"type": [
"string",
"null"
],
"description": "Extra words that help shoppers find the product"
},
"position": {
"type": [
"integer",
"null"
],
"description": "Place in the storefront order"
},
"price": {
"type": [
"number",
"null"
],
"description": "The regular price; null with hide_price or \"ask for price\""
},
"sale_price": {
"type": [
"number",
"null"
],
"description": "The discounted price while on sale"
},
"cost": {
"type": [
"number",
"null"
],
"description": "What one unit costs the merchant (null when not set). Only the store's owners get it"
},
"tax_rate": {
"type": [
"number",
"null"
],
"description": "Its own tax rate in percent; null uses its category's or the store's"
},
"weight": {
"type": [
"number",
"null"
],
"description": "What one unit weighs in kilograms, for shipping priced by weight; every variant weighs the same. null when not set"
},
"image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Images in display order"
},
"video_url": {
"type": [
"string",
"null"
],
"description": "A video shown on the product page after the first image"
},
"properties": {
"type": "array",
"description": "What shoppers filter the store's products by, like Fit Slim or Fabric Cotton",
"items": {
"$ref": "#/$defs/ProductProperty"
}
},
"colors": {
"type": "array",
"items": {
"$ref": "#/$defs/Color"
},
"description": "The colors shoppers pick from; empty when the product has none"
},
"variants": {
"type": "array",
"items": {
"$ref": "#/$defs/Variant"
}
},
"url": {
"type": "string",
"description": "The product's page on the storefront"
},
"addons": {
"type": "array",
"items": {
"$ref": "#/$defs/Addon"
}
},
"combos": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/Combo"
}
},
"bulk_discount": {
"oneOf": [
{
"$ref": "#/$defs/BulkDiscount"
},
{
"type": "null"
}
]
},
"bogo": {
"oneOf": [
{
"$ref": "#/$defs/Bogo"
},
{
"type": "null"
}
]
},
"booking": {
"oneOf": [
{
"$ref": "#/$defs/BookingSettings"
},
{
"type": "null"
}
],
"description": "How the product is booked, when it's a bookable service"
},
"available_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "A drop's launch: until then the storefront shows a countdown and a Notify me button, and checkout refuses it. null sells it now"
},
"preorder": {
"$ref": "#/$defs/Preorder"
},
"deposit": {
"oneOf": [
{
"$ref": "#/$defs/Deposit"
},
{
"type": "null"
}
],
"description": "The deposit checkout asks for on this product, over the store's (deposits in the checkout settings); null leaves it to the store's"
},
"subscription": {
"oneOf": [
{
"$ref": "#/$defs/SubscriptionOffer"
},
{
"type": "null"
}
],
"description": "\"Subscribe and save\": customers can have it delivered on a schedule (listSubscriptions); null when it's only sold once"
},
"waitlist_count": {
"type": "integer",
"description": "Customers waiting to be told when it's back in stock or launches"
},
"license_keys": {
"oneOf": [
{
"$ref": "#/$defs/LicensePool"
},
{
"type": "null"
}
],
"description": "The key pool of a digital product that delivers a license key per unit sold (see addLicenseKeys); null for other products"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"Addon": {
"type": "object",
"description": "An extra choice shoppers make when buying, such as gift wrap or an engraving text",
"required": [
"name",
"type"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"radio",
"checkbox",
"counter",
"text",
"date",
"number"
],
"description": "radio picks one option, checkbox several, counter a quantity of each"
},
"required": {
"type": "boolean"
},
"hidden": {
"type": "boolean",
"description": "Hidden in the dashboard; kept when a product is saved through the API"
},
"minCount": {
"type": "integer",
"description": "checkbox and counter only"
},
"maxCount": {
"type": "integer",
"description": "checkbox and counter only"
},
"minDate": {
"type": "string",
"format": "date",
"description": "date only"
},
"maxDate": {
"type": "string",
"format": "date",
"description": "date only"
},
"minValue": {
"type": "number",
"description": "number only"
},
"maxValue": {
"type": "number",
"description": "number only"
},
"placeholder": {
"type": "string",
"description": "text and number only"
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"price": {
"type": "number",
"description": "Added to the product price"
},
"maxCount": {
"type": "integer",
"description": "counter only"
},
"unavailable": {
"type": "boolean"
}
}
}
}
}
},
"Bogo": {
"type": "object",
"description": "Buy buyQuantity, get getQuantity more at discountPercent off (100 is free)",
"required": [
"buyQuantity",
"getQuantity",
"discountPercent"
],
"properties": {
"buyQuantity": {
"type": "integer"
},
"getQuantity": {
"type": "integer"
},
"discountPercent": {
"type": "number"
},
"variantNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "Variants it applies to; empty means all"
}
}
},
"BookingSettings": {
"type": "object",
"required": [
"kind",
"duration_minutes",
"buffer_minutes",
"capacity",
"lead_time",
"lead_unit",
"days_ahead",
"max_nights",
"hours"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"appointment",
"date",
"nights",
"event"
],
"description": "appointment: a set length; date: a whole day; nights: a stay, priced per night; event: one date and time, sold as tickets until it starts"
},
"duration_minutes": {
"type": "integer",
"description": "An appointment's length"
},
"buffer_minutes": {
"type": "integer",
"description": "Minutes kept free after each appointment"
},
"capacity": {
"type": "integer",
"description": "Places per time, day or night"
},
"lead_time": {
"type": "integer",
"description": "How long ahead it must be booked, in lead_unit"
},
"lead_unit": {
"type": "string",
"enum": [
"hours",
"days"
]
},
"days_ahead": {
"type": "integer",
"description": "How many days ahead it can be booked"
},
"max_nights": {
"type": "integer",
"description": "The longest stay"
},
"event_date": {
"type": [
"string",
"null"
],
"format": "date",
"description": "An event's date (only for events); null until it's set"
},
"event_start": {
"type": [
"string",
"null"
],
"description": "When an event starts, like 19:00, in the store's time zone (only for events)"
},
"location": {
"type": [
"string",
"null"
],
"description": "Where an event happens, shown on its page (only for events)"
},
"meeting_url": {
"type": [
"string",
"null"
],
"description": "The link to join an online event, which only paid orders show (only for events)"
},
"max_per_order": {
"type": [
"integer",
"null"
],
"description": "The most tickets one order takes; null is no limit but the capacity (only for events)"
},
"tiers": {
"type": "array",
"description": "An event's ticket types, one per variant of the product (its name and price), with their own cap and sales window (only for events)",
"items": {
"$ref": "#/$defs/TicketTier"
}
},
"hours": {
"$ref": "#/$defs/WeeklyHours",
"description": "Its own week ({} is closed every day); null follows the store's opening hours"
}
}
},
"BulkDiscount": {
"type": "object",
"description": "A discount on each unit from minQuantity units on",
"required": [
"minQuantity",
"type",
"value"
],
"properties": {
"minQuantity": {
"type": "integer"
},
"type": {
"type": "string",
"enum": [
"percentage",
"fixed"
],
"description": "percentage off each unit, or a fixed price for each unit"
},
"value": {
"type": "number"
},
"variantNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "Variants it applies to; empty means all"
}
}
},
"Color": {
"type": "object",
"description": "A color of a product: shoppers pick it, then one of its variants (such as a size)",
"required": [
"name",
"swatch",
"image_urls"
],
"properties": {
"name": {
"type": "string"
},
"swatch": {
"type": [
"string",
"null"
],
"description": "The swatch shown for it",
"as a hex color": null
},
"image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "The product images that show this color; empty shows them all"
}
}
},
"Combo": {
"type": "object",
"description": "A pack price: quantity units for price in total",
"required": [
"quantity",
"price"
],
"properties": {
"quantity": {
"type": "integer"
},
"price": {
"type": "number",
"description": "Total price of the pack"
},
"variantNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "Variants it applies to; empty means all"
}
}
},
"Deposit": {
"type": "object",
"required": [
"mode",
"type",
"amount"
],
"description": "A deposit customers pay online at checkout, leaving the balance for later. A percentage applies to the whole total\n(shipping, taxes, tip and service charge included) of the items it covers; a fixed amount is exactly that, per unit\non a product and per order store-wide. Carts with gift cards or memberships take no deposit, and manual payments\ndon't use it.\n",
"properties": {
"mode": {
"type": "string",
"enum": [
"optional",
"required"
],
"description": "optional lets the customer pay it all instead; required charges only the deposit online"
},
"type": {
"type": "string",
"enum": [
"percentage",
"fixed"
]
},
"amount": {
"type": "number",
"description": "Above 0: a percentage below 100, or an amount in the store's currency"
}
}
},
"LicensePool": {
"type": "object",
"description": "A product's license keys: how many are left to sell, held by unpaid orders, delivered and revoked",
"required": [
"available",
"held",
"assigned",
"revoked",
"low",
"low_stock",
"low_stock_email",
"variants",
"instructions"
],
"properties": {
"available": {
"type": "integer",
"description": "Keys left to sell; the product's stock"
},
"held": {
"type": "integer",
"description": "Keys held by orders not yet paid in full"
},
"assigned": {
"type": "integer",
"description": "Keys delivered to customers"
},
"revoked": {
"type": "integer",
"description": "Keys the merchant took back after a refund or cancellation; they don't return to the pool"
},
"low": {
"type": "boolean",
"description": "Whether available is at or under low_stock"
},
"low_stock": {
"type": "integer",
"description": "The count at which the pool is running low"
},
"low_stock_email": {
"type": "boolean",
"description": "Whether the owner is emailed when it runs low"
},
"variants": {
"type": "array",
"description": "Keys available per variant, for a product with variants",
"items": {
"type": "object",
"required": [
"name",
"available"
],
"properties": {
"name": {
"type": "string"
},
"available": {
"type": "integer"
}
}
}
},
"instructions": {
"type": [
"string",
"null"
],
"description": "How to redeem a key, shown to customers beside it"
}
}
},
"OpeningRange": {
"type": "object",
"required": [
"opens",
"closes"
],
"properties": {
"opens": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"closes": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
"description": "After opens, the same day"
}
}
},
"Preorder": {
"type": "object",
"description": "Whether the product, or any of its variants, keeps selling as a pre-order once its stock runs out",
"required": [
"enabled",
"ships_on",
"limit"
],
"properties": {
"enabled": {
"type": "boolean"
},
"ships_on": {
"type": [
"string",
"null"
],
"format": "date",
"description": "When pre-orders ship, shown as Ships from December 15"
},
"limit": {
"type": [
"integer",
"null"
],
"description": "The most units taken on pre-order and not shipped yet, across its variants; null is no limit"
}
}
},
"ProductDetail": {
"type": "object",
"required": [
"title",
"text"
],
"properties": {
"title": {
"type": "string"
},
"text": {
"type": "string",
"description": "Markdown: bold, italics and links"
}
}
},
"ProductProperty": {
"type": "object",
"description": "One thing a product is, that shoppers filter by: a name and its value",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 30
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"SubscriptionOffer": {
"type": "object",
"required": [
"frequencies",
"discount_percent"
],
"properties": {
"frequencies": {
"type": "array",
"items": {
"type": "string",
"enum": [
"week",
"2weeks",
"month"
]
}
},
"discount_percent": {
"type": "number",
"description": "Off each delivery's unit price"
}
}
},
"TicketTier": {
"type": "object",
"required": [
"name",
"capacity",
"sales_start",
"sales_end"
],
"properties": {
"name": {
"type": "string",
"description": "The variant it is"
},
"capacity": {
"type": [
"integer",
"null"
],
"description": "The most tickets of this type, within the event's capacity; null shares the event's capacity"
},
"sales_start": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When it goes on sale; null is on sale now"
},
"sales_end": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When its sales close; null sells until the event starts"
}
}
},
"Variant": {
"type": "object",
"description": "One option of a product, such as a size or a color",
"required": [
"name",
"price",
"sale_price",
"inventory"
],
"properties": {
"name": {
"type": "string",
"description": "Unique within the product; a variant with a color is named \"<color> / <option>\""
},
"color": {
"type": [
"string",
"null"
],
"description": "One of the product's colors, when it has them"
},
"option": {
"type": [
"string",
"null"
],
"description": "With a color, what else the variant differs by, such as the size"
},
"price": {
"type": [
"number",
"null"
]
},
"sale_price": {
"type": [
"number",
"null"
]
},
"inventory": {
"type": [
"integer",
"null"
],
"description": "null is unlimited, 0 is sold out"
},
"cost": {
"type": [
"number",
"null"
],
"description": "What one unit costs the merchant; null uses the product's cost. Only for the store's owners"
}
}
},
"WeeklyHours": {
"type": [
"object",
"null"
],
"description": "Each day's open ranges (up to 3, not overlapping); an empty or missing day is closed. null: no hours, always open",
"properties": {
"monday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
},
"tuesday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
},
"wednesday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
},
"thursday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
},
"friday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
},
"saturday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
},
"sunday": {
"type": "array",
"items": {
"$ref": "#/$defs/OpeningRange"
}
}
}
}
}
}
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-product"
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.