Swell · JSON Structure

Swell Product Structure

Type: object Properties: 26
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionsMarketplacesWholesaleStorefrontCheckoutPaymentsCartsOrdersCatalogInternationalization

Swell Product Structure is a JSON Structure definition published by Swell, describing 26 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

id name slug sku active type delivery price sale_price currency description stock_tracking stock_level stock_status variable variants options purchase_options category_id categories shipment_weight shipment_dimensions images tags date_created date_updated

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/swell-io/main/json-structure/swell-product-structure.json",
  "title": "Swell Product",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "name": { "type": "string" },
    "slug": { "type": "string" },
    "sku": { "type": "string" },
    "active": { "type": "boolean" },
    "type": { "type": "string" },
    "delivery": { "type": "string" },
    "price": { "type": "decimal" },
    "sale_price": { "type": "decimal" },
    "currency": { "type": "string" },
    "description": { "type": "string" },
    "stock_tracking": { "type": "boolean" },
    "stock_level": { "type": "int32" },
    "stock_status": { "type": "string" },
    "variable": { "type": "boolean" },
    "variants": { "type": "array", "items": { "type": "object" } },
    "options": { "type": "array", "items": { "type": "object" } },
    "purchase_options": { "type": "object" },
    "category_id": { "type": "string" },
    "categories": { "type": "array", "items": { "type": "object" } },
    "shipment_weight": { "type": "decimal" },
    "shipment_dimensions": { "type": "object" },
    "images": { "type": "array", "items": { "type": "object" } },
    "tags": { "type": "array", "items": { "type": "string" } },
    "date_created": { "type": "string" },
    "date_updated": { "type": "string" }
  }
}