Skip to content

Commit

Permalink
Address Alex's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-traciporter authored Sep 10, 2024
1 parent 841ab95 commit c420ab0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions reference/catalog/products_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1279,13 +1279,19 @@ paths:
**Usage Notes**
- `image_url` - `255` character limit
- For file uploads, use the `multipart/form-data` media type. See [Adding product images](/docs/store-operations/catalog#adding-product-images) for more information.
- `Content-Type` - For `image_file`, use the `multipart/form-data` media type. For `image_url`, use the application/json type. See [Adding product images](/docs/store-operations/catalog#adding-product-images) for more information.
- You can create only one image at a time. A product can have up to 1000 images.
- Supported image file types are BMP, GIF, JPEG, PNG, WBMP, XBM, and WEBP.
- Each image file or image uploaded by URL can be up to 8 MB.
operationId: createProductImage
parameters:
- $ref: '#/components/parameters/MultipartContentType'
name: Content-Type
in: header
required: true
description: 'The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body.'
schema:
type: string
enum: [application/json, multipart/form-data]
requestBody:
content:
application/json:
Expand Down Expand Up @@ -8802,7 +8808,7 @@ components:
type: string
default: 'application/json'
MultipartContentType:
name: Content-Type
name: MultipartContent-Type
in: header
required: true
description: 'The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body.'
Expand Down

0 comments on commit c420ab0

Please sign in to comment.