Commerce Layer · Schema
Commerce Layer SKU
Schema for the Commerce Layer SKU resource — the unit-level entity that connects a catalog item to inventory and pricing. Conforms to JSON:API.
Headless CommerceComposable CommerceAPI-FirstE-CommerceJSON:APIAuthenticationMulti-MarketMulti-CurrencyB2CB2BSubscriptionPromotionsInventoryOrder ManagementCheckout
Properties
| Name | Type | Description |
|---|---|---|
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.com/schemas/commerce-layer/commerce-layer-sku-schema.json",
"title": "Commerce Layer SKU",
"description": "Schema for the Commerce Layer SKU resource — the unit-level entity that connects a catalog item to inventory and pricing. Conforms to JSON:API.",
"type": "object",
"required": ["data"],
"properties": {
"data": { "$ref": "#/definitions/SkuResource" }
},
"definitions": {
"SkuResource": {
"type": "object",
"required": ["type"],
"properties": {
"type": { "type": "string", "const": "skus" },
"id": { "type": "string" },
"attributes": { "$ref": "#/definitions/SkuAttributes" },
"relationships": { "$ref": "#/definitions/SkuRelationships" }
}
},
"SkuAttributes": {
"type": "object",
"required": ["code","name"],
"properties": {
"code": { "type": "string", "description": "Unique stock-keeping unit identifier within the organization." },
"name": { "type": "string" },
"description": { "type": "string" },
"image_url": { "type": "string", "format": "uri" },
"pieces_per_pack": { "type": "integer" },
"weight": { "type": "number" },
"unit_of_weight": { "type": "string", "enum": ["gr","oz","lb","kg"] },
"hs_tariff_number": { "type": "string", "description": "Harmonized System tariff number for cross-border duty calculation." },
"do_not_ship": { "type": "boolean", "description": "Digital or non-shippable SKU." },
"do_not_track": { "type": "boolean", "description": "Skip inventory tracking — treat as infinite stock." },
"inventory": { "type": "object", "description": "Per-stock-location availability summary." },
"metadata": { "type": "object" },
"tags": { "type": "array", "items": { "type": "string" } },
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" }
}
},
"SkuRelationships": {
"type": "object",
"properties": {
"shipping_category": { "type": "object" },
"prices": { "type": "object" },
"stock_items": { "type": "object" },
"sku_options": { "type": "object" },
"delivery_lead_times": { "type": "object" },
"tags": { "type": "object" }
}
}
}
}
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/commerce-layer-sku"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.