VTEX · Schema

ItemV2

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
id string SKU ID of the item that will be changed.
quantity integer Quantity of the item been changed.
View JSON Schema on GitHub

JSON Schema

vtex-itemv2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ItemV2",
  "title": "ItemV2",
  "required": [
    "id",
    "quantity"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "SKU ID of the item that will be changed.",
      "example": "1"
    },
    "quantity": {
      "type": "integer",
      "description": "Quantity of the item been changed.",
      "example": 1
    }
  },
  "example": {
    "id": "1",
    "quantity": 1
  }
}