POST api/store/{storeID}/product/{id}/images
Save product images
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Product identifier |
globally unique identifier |
Required |
| storeID |
Store identifier |
integer |
Default value is 0 |
Body Parameters
Product image list
Collection of 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:
[
{
"$id": "1",
"imagePosition": 1,
"pluG_UID": "DCGgML6QSkmA8sykvruGeQ==",
"pluGuid": "30a0210c-90be-494a-80f2-cca4bebb8679",
"imageName": "sample string 2",
"description": "sample string 3",
"storeIDs": [
1,
2
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
<ProductImage>
<Description>sample string 3</Description>
<ImageName>sample string 2</ImageName>
<ImagePosition>1</ImagePosition>
<PLUG_UID>DCGgML6QSkmA8sykvruGeQ==</PLUG_UID>
<PluGuid>30a0210c-90be-494a-80f2-cca4bebb8679</PluGuid>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
</ProductImage>
<ProductImage>
<Description>sample string 3</Description>
<ImageName>sample string 2</ImageName>
<ImagePosition>1</ImagePosition>
<PLUG_UID>DCGgML6QSkmA8sykvruGeQ==</PLUG_UID>
<PluGuid>30a0210c-90be-494a-80f2-cca4bebb8679</PluGuid>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
</ProductImage>
</ArrayOfProductImage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Product images for product
None.