Skip to content

Commit

Permalink
DEVDOCS-6205 - Add character limit for PUT and POST product image
Browse files Browse the repository at this point in the history
Adding and updating product images by URL both have a maximum URL length of 255
  • Loading branch information
bc-terra authored Jan 30, 2025
1 parent c1d2831 commit 2c8fc4f
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions reference/catalog/products_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5678,12 +5678,6 @@ components:
title: productImage_Base
type: object
properties:
image_url:
type: string
description: |
The URL for an image displayed on the storefront when the conditions are applied. Limit of 8MB per file.
Cannot be used with `image_file`.
is_thumbnail:
type: boolean
description: |
Expand Down Expand Up @@ -5716,6 +5710,13 @@ components:
type: integer
description: |
The unique numeric identifier for the product with which the image is associated.
image_url:
maxLength: 255
type: string
description: |
The URL for an image displayed on the storefront when the conditions are applied. Limit of 8MB per file.
Cannot be used with `image_file`.
description: Common ProductImage properties.
- $ref: '#/components/schemas/productImage_Base'
x-internal: false
Expand Down Expand Up @@ -6434,6 +6435,12 @@ components:
type: integer
description: |
The unique numeric identifier for the product with which the image is associated.
image_url:
type: string
description: |
The URL for an image displayed on the storefront when the conditions are applied. Limit of 8MB per file.
Cannot be used with `image_file`.
url_zoom:
readOnly: true
type: string
Expand Down

0 comments on commit 2c8fc4f

Please sign in to comment.