diff --git a/reference/catalog/product-variants_catalog.v3.yml b/reference/catalog/product-variants_catalog.v3.yml index 7627a6dab..93d2a925e 100644 --- a/reference/catalog/product-variants_catalog.v3.yml +++ b/reference/catalog/product-variants_catalog.v3.yml @@ -1132,7 +1132,9 @@ paths: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - x-nullable: true + nullable: false + maxLength: 13 + minLength: 0 inventory_level: type: integer description: |- @@ -1347,7 +1349,9 @@ paths: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - x-nullable: true + nullable: false + maxLength: 13 + minLength: 0 example: "1234" inventory_level: type: integer @@ -1472,7 +1476,9 @@ paths: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - x-nullable: true + nullable: false + maxLength: 13 + minLength: 0 inventory_level: type: integer description: |- @@ -1989,7 +1995,9 @@ components: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - nullable: true + nullable: false + maxLength: 13 + minLength: 0 image_url: type: string description: Publicly available image url @@ -2019,9 +2027,13 @@ components: mpn: type: string description: The Manufacturer Part Number (MPN) for the variant. + nullable: false gtin: type: string example: '012345678905' + nullable: false + maxLength: 13 + minLength: 0 description: Common Variant properties. x-internal: false x-examples: @@ -2186,7 +2198,9 @@ components: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - nullable: true + nullable: false + maxLength: 13 + minLength: 0 inventory_level: type: integer description: |- @@ -2217,10 +2231,14 @@ components: type: string description: Global Trade Item Number example: '012345678905' + nullable: false + maxLength: 13 + minLength: 0 mpn: type: string description: Manufacturer Part Number example: HV-HM02 + nullable: false description: Common Variant properties. - type: object properties: diff --git a/reference/catalog/products_catalog.v3.yml b/reference/catalog/products_catalog.v3.yml index ccd3c7a60..70556add6 100644 --- a/reference/catalog/products_catalog.v3.yml +++ b/reference/catalog/products_catalog.v3.yml @@ -5367,7 +5367,9 @@ components: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - nullable: true + nullable: false + maxLength: 13 + minLength: 0 inventory_level: type: integer description: |- @@ -5394,9 +5396,13 @@ components: mpn: type: string description: The Manufacturer Part Number (MPN) for the variant. + nullable: false gtin: type: string example: '012345678905' + nullable: false + maxLength: 13 + minLength: 0 description: Common Variant properties. x-internal: false x-examples: @@ -5559,7 +5565,9 @@ components: upc: type: string description: The UPC code used in feeds for shopping comparison sites and external channel integrations. - nullable: true + nullable: false + maxLength: 13 + minLength: 0 inventory_level: type: integer description: |- @@ -7052,8 +7060,9 @@ components: The layout template file used to render this product category. This field is writable only for stores with a Blueprint theme applied. For stores with a Stencil theme applied, see [Custom Template Associations](/docs/rest-content/custom-template-associations). upc: type: string - maxLength: 32 + maxLength: 13 minLength: 0 + nullable: false description: | The product UPC code, which is used in feeds for shopping comparison sites and external channel integrations. search_keywords: @@ -7218,9 +7227,13 @@ components: gtin: type: string description: Global Trade Item Number + nullable: false + maxLength: 13 + minLength: 0 mpn: type: string description: Manufacturer Part Number + nullable: false date_last_imported: type: string description: the date when the Product had been imported @@ -7544,8 +7557,9 @@ components: The layout template file used to render this product category. This field is writable only for stores with a Blueprint theme applied. For stores with a Stencil theme applied, see [Custom Template Associations](/docs/rest-content/custom-template-associations). upc: type: string - maxLength: 32 + maxLength: 13 minLength: 0 + nullable: false description: | The product UPC code, which is used in feeds for shopping comparison sites and external channel integrations. search_keywords: @@ -7710,9 +7724,13 @@ components: gtin: type: string description: Global Trade Item Number + nullable: false + maxLength: 13 + minLength: 0 mpn: type: string description: Manufacturer Part Number + nullable: false date_last_imported: type: string description: the date when the Product had been imported