POST v1/ProductImages?productId={productId}&imagePriority={imagePriority}
BETA
**This endpoint is in BETA.**
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productId |
integer |
Required |
|
imagePriority |
ImagePriority |
Required |
Body Parameters
IFormFileName | Description | Type | Additional information |
---|---|---|---|
ContentType |
string |
None. |
|
ContentDisposition |
string |
None. |
|
Headers |
Collection of Object |
None. |
|
Length |
integer |
None. |
|
Name |
string |
None. |
|
FileName |
string |
None. |
Request Formats
application/json, text/json
Sample:
Sample not available.
Response Information
Resource Description
ResultItemName | Description | Type | Additional information |
---|---|---|---|
Success |
​True if the record was successfully inserted or updated. |
boolean |
None. |
Id |
The record Id. |
integer |
None. |
Code |
The record code. |
string |
None. |
Errors |
A list of errors if the insert or update fails. |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "index": 0, "success": true, "id": 1, "code": "SALE4-28", "errors": [] }