Unified.to · Schema

CommerceItem

CommerceItem schema from Unified.to API

IntegrationsUnified API

Properties

Name Type Description
id string
created_at string
updated_at string
name string
public_name string
slug string
description string
global_code string
public_description string
is_active boolean
is_taxable boolean
vendor_name string
type string
is_visible boolean
is_featured boolean
weight number
weight_unit string
requires_shipping boolean
prices object
inventory_id string
total_stock number
variants object
tags object
media object
collection_ids object
account_id string
metadata object
collections object
taxrate_id string
location_id string
duration number
raw object
View JSON Schema on GitHub

JSON Schema

unified-to-commerce-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/json-schema/unified-to-commerce-item-schema.json",
  "title": "CommerceItem",
  "description": "CommerceItem schema from Unified.to API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "name": {
      "type": "string"
    },
    "public_name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "global_code": {
      "type": "string"
    },
    "public_description": {
      "type": "string"
    },
    "is_active": {
      "type": "boolean"
    },
    "is_taxable": {
      "type": "boolean"
    },
    "vendor_name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "is_visible": {
      "type": "boolean"
    },
    "is_featured": {
      "type": "boolean"
    },
    "weight": {
      "type": "number"
    },
    "weight_unit": {
      "type": "string",
      "enum": [
        "g",
        "kg",
        "oz",
        "lb"
      ],
      "x-speakeasy-unknown-values": "allow"
    },
    "requires_shipping": {
      "type": "boolean"
    },
    "prices": {
      "$ref": "#/components/schemas/property_CommerceItem_prices"
    },
    "inventory_id": {
      "type": "string"
    },
    "total_stock": {
      "type": "number"
    },
    "variants": {
      "$ref": "#/components/schemas/property_CommerceItem_variants"
    },
    "tags": {
      "$ref": "#/components/schemas/property_CommerceItem_tags"
    },
    "media": {
      "$ref": "#/components/schemas/property_CommerceItem_media"
    },
    "collection_ids": {
      "$ref": "#/components/schemas/property_CommerceItem_collection_ids"
    },
    "account_id": {
      "type": "string"
    },
    "metadata": {
      "$ref": "#/components/schemas/property_CommerceItem_metadata"
    },
    "collections": {
      "$ref": "#/components/schemas/property_CommerceItem_collections"
    },
    "taxrate_id": {
      "type": "string"
    },
    "location_id": {
      "type": "string"
    },
    "duration": {
      "type": "number"
    },
    "raw": {
      "type": "object",
      "additionalProperties": true
    }
  }
}