VTEX · Schema

SKUSpecificationResponse

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
Id integer ID of the association of the specification and the SKU. This ID is used to update or delete the specification.
SkuId integer SKU ID.
FieldId integer Specification field ID.
FieldValueId integer Specification value ID. Required only for `FieldTypeId` as `5`, `6` and `7`.
Text string Value of specification. Only for `FieldTypeId` different from `5`, `6` and `7`.
View JSON Schema on GitHub

JSON Schema

vtex-skuspecificationresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SKUSpecificationResponse",
  "title": "SKUSpecificationResponse",
  "type": "object",
  "properties": {
    "Id": {
      "type": "integer",
      "description": "ID of the association of the specification and the SKU. This ID is used to update or delete the specification."
    },
    "SkuId": {
      "type": "integer",
      "description": "SKU ID."
    },
    "FieldId": {
      "type": "integer",
      "description": "Specification field ID."
    },
    "FieldValueId": {
      "type": "integer",
      "description": "Specification value ID. Required only for `FieldTypeId` as `5`, `6` and `7`."
    },
    "Text": {
      "type": "string",
      "description": "Value of specification. Only for `FieldTypeId` different from `5`, `6` and `7`."
    }
  },
  "example": {
    "Id": 1505,
    "SkuId": 1234568387,
    "FieldId": 193,
    "FieldValueId": 360,
    "Text": "Size 10"
  }
}