VTEX · Schema

GetorUpdateProductSpecification

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
Value array Array with specification values.
Id integer Specification field ID, which is the same as `FieldId` in other specification endpoints.
Name string Name of the specification.
View JSON Schema on GitHub

JSON Schema

vtex-getorupdateproductspecification-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetorUpdateProductSpecification",
  "title": "GetorUpdateProductSpecification",
  "required": [
    "Value"
  ],
  "type": "object",
  "properties": {
    "Value": {
      "type": "array",
      "description": "Array with specification values.",
      "items": {
        "type": "string",
        "description": "Specification value.",
        "example": "Cotton"
      }
    },
    "Id": {
      "type": "integer",
      "format": "int32",
      "description": "Specification field ID, which is the same as `FieldId` in other specification endpoints.",
      "example": 7
    },
    "Name": {
      "type": "string",
      "description": "Name of the specification.",
      "example": "Fabric"
    }
  },
  "example": {
    "Value": [
      "Iron",
      "Plastic"
    ],
    "Id": 30,
    "Name": "Material"
  }
}