PUT Catalog/ModifyProductImage
Modify metadata associated to an image
Request Information
URI Parameters
None.
Body Parameters
ProductImageBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ProductID | integer |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| LanguageID |
this is the image to be displayed at languageID, if not null |
integer |
None. |
| SortOrder | integer |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ProductID": 2,
"Name": "sample string 3",
"Description": "sample string 4",
"LanguageID": 1,
"SortOrder": 5,
"Lang": "sample string 6",
"StoreID": 7
}
application/xml, text/xml
Sample:
<ProductImageBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Catalog"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 6</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">7</StoreID> <Description>sample string 4</Description> <ID>1</ID> <LanguageID>1</LanguageID> <Name>sample string 3</Name> <ProductID>2</ProductID> <SortOrder>5</SortOrder> </ProductImageBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.