PUT request/supplier/brand/{BrandId}/config
To update the supplier Filter configs(Include or Exclude) for a particular Brand
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| BrandId | integer |
Required |
Body Parameters
SupplierByBrandConfigPut| Name | Description | Type | Additional information |
|---|---|---|---|
| suppliers | Collection of BrandSupplierConfigBase |
None. |
Request Formats
application/json, text/json
Sample:
{
"suppliers": [
{
"supplierId": 1,
"exclude": true
},
{
"supplierId": 1,
"exclude": true
}
]
}
text/html
Sample:
{"suppliers":[{"supplierId":1,"exclude":true},{"supplierId":1,"exclude":true}]}
application/xml, text/xml
Sample:
<SupplierByBrandConfigPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.SupplierDetails.ProductConfig">
<suppliers>
<BrandSupplierConfigBase>
<Exclude>true</Exclude>
<SupplierId>1</SupplierId>
</BrandSupplierConfigBase>
<BrandSupplierConfigBase>
<Exclude>true</Exclude>
<SupplierId>1</SupplierId>
</BrandSupplierConfigBase>
</suppliers>
</SupplierByBrandConfigPut>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>