PUT api/product/{id}/image/{position}?storeID={storeID}
Save product image
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Product identifier |
globally unique identifier |
Required |
| position |
Image Position |
integer |
Required |
| storeID |
Store identifier |
integer |
Default value is 0 |
Body Parameters
Product image
ProductImage| Name | Description | Type | Additional information |
|---|---|---|---|
| ImagePosition | integer |
None. |
|
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| ImageName | string |
None. |
|
| Description | string |
Relation. This field may not always be loaded or used for updates. |
|
| StoreIDs | Collection of integer |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"imagePosition": 1,
"pluG_UID": "NkjeQudw/kCjPJKEEDhVCQ==",
"pluGuid": "42de4836-70e7-40fe-a33c-928410385509",
"imageName": "sample string 2",
"description": "sample string 3",
"storeIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<ProductImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
<Description>sample string 3</Description>
<ImageName>sample string 2</ImageName>
<ImagePosition>1</ImagePosition>
<PLUG_UID>NkjeQudw/kCjPJKEEDhVCQ==</PLUG_UID>
<PluGuid>42de4836-70e7-40fe-a33c-928410385509</PluGuid>
<StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StoreIDs>
</ProductImage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Product images for product
None.