Bulk images
POST/media/images/bulk
Fields
Name | Description | Type | Required |
---|---|---|---|
Array of mediaImage objects | array[MediaImage] | yes |
MediaImage input
Name | Description | Type | Required |
---|---|---|---|
productId | Id of the product resource the image should be linked to | integer | no |
source | External system Read more about lookup key source/sourceId | string | yes |
sourceId | External system unique id Read more about lookup key source/sourceId | string | yes |
priority | Image display priority (lower value has higher priority) Default is 1000 | integer | no |
alt | Image alt description that briefly explains the contents of the image | array[LocalizedString] | yes |
description | Image short description | array[LocalizedString] | yes |
tags | Free format field to categorize image on type (e.g. logo, banner, icon, etc) | array[LocalizedString] | yes |
uploadImages | array[UploadImages] | yes |
UploadImages input
Name | Description | Type | Required |
---|---|---|---|
language | Language specific image Default is en | string | no |
uploadType | Default is URL | string | no |
urlFile | UrlFile object |
UrlFile input
Name | Description | Type | Required |
---|---|---|---|
url | Public url to the image | string | yes |
fileName | Name to use for storing the file | string | yes |
Request
Responses
- 200
- 400
Bulk images - 200
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
etag
x-powered-by
x-request-id
Bulk images - 400 / Bulk images - 400 (invalid schema)
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
etag
x-powered-by
x-request-id