DELETE product/removeregionrelation
Removes the relation between region and product
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
productRegionRelation | 1) ProductCode: Product Code to get the specific product 2) RegionId: This is to get the region you want the product to be associated with. To get list of region id's call /product/getregions |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "ProductCode": "sample string 1", "RegionId": 2 }
application/xml, text/xml
Sample:
<ProductRegionRelationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models"> <ProductCode>sample string 1</ProductCode> <RegionId>2</RegionId> </ProductRegionRelationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.