DELETE product/removeimage
Removes product image (provide product code) based on display order and group code
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
image | 1) ProductCode: The product the image belongs to 2) ImageNumber: Image display order 3) GroupCode: The code of the group the image belongs to |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "GroupCode": "sample string 1", "ProductCode": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "CropImageIfNotProperSize": true, "ImageNumber": 1, "SubFolder": "sample string 6", "File": null }
application/xml, text/xml
Sample:
<ProductImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models"> <CropImageIfNotProperSize>true</CropImageIfNotProperSize> <Description>sample string 4</Description> <File xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <GroupCode>sample string 1</GroupCode> <ImageNumber>1</ImageNumber> <ProductCode>sample string 2</ProductCode> <SubFolder>sample string 6</SubFolder> <Title>sample string 3</Title> </ProductImageModel>
application/x-www-form-urlencoded
Sample:
Sample not available.