POST api/Product/CheckPreferredGroupHideToPublicProducts
Request Information
URI Parameters
None.
Body Parameters
PrefGroupProductViewModelName | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
None. |
|
groupId | string |
None. |
|
ProductIds | Collection of string |
None. |
|
hideToPublic | boolean |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "providerID": 1, "groupId": "sample string 2", "ProductIds": [ "sample string 1", "sample string 2" ], "hideToPublic": true }
application/xml, text/xml
Sample:
<PrefGroupProductViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers"> <ProductIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ProductIds> <groupId>sample string 2</groupId> <hideToPublic>true</hideToPublic> <providerID>1</providerID> </PrefGroupProductViewModel>
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>