Unified.to · Schema

CommerceItem

IntegrationsUnified API

Properties

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

JSON Schema

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