GET api/WebApiOdata/GetAllShopperGroups?providerId={providerId}&isActive={isActive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| providerId | integer |
Required |
|
| isActive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ShopperGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopperGroupID | integer |
None. |
|
| ProviderID | integer |
None. |
|
| Name | string |
None. |
|
| Discount | decimal number |
None. |
|
| ShopperIDs | string |
None. |
|
| Status | boolean |
None. |
|
| Deleted | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| ShoppersCount | integer |
None. |
|
| TotalShopperGroupShopperIDs | string |
None. |
|
| Code | string |
None. |
|
| DiscountCalculationType | byte |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"ShopperGroupID": 1,
"ProviderID": 2,
"Name": "sample string 3",
"Discount": 4.1,
"ShopperIDs": "sample string 5",
"Status": true,
"Deleted": true,
"CreatedBy": 8,
"CreatedDate": "10/30/2025",
"ModifiedBy": 1,
"ModifiedDate": "10/30/2025",
"ShoppersCount": 9,
"TotalShopperGroupShopperIDs": "sample string 10",
"Code": "sample string 11",
"DiscountCalculationType": 64
},
{
"ShopperGroupID": 1,
"ProviderID": 2,
"Name": "sample string 3",
"Discount": 4.1,
"ShopperIDs": "sample string 5",
"Status": true,
"Deleted": true,
"CreatedBy": 8,
"CreatedDate": "10/30/2025",
"ModifiedBy": 1,
"ModifiedDate": "10/30/2025",
"ShoppersCount": 9,
"TotalShopperGroupShopperIDs": "sample string 10",
"Code": "sample string 11",
"DiscountCalculationType": 64
}
]
application/xml, text/xml
Sample:
<ArrayOfShopperGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce">
<ShopperGroup>
<Code>sample string 11</Code>
<CreatedBy>8</CreatedBy>
<CreatedDate>2025-10-30T01:37:15.1228296+00:00</CreatedDate>
<Deleted>true</Deleted>
<Discount>4.1</Discount>
<DiscountCalculationType>64</DiscountCalculationType>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-10-30T01:37:15.1228296+00:00</ModifiedDate>
<Name>sample string 3</Name>
<ProviderID>2</ProviderID>
<ShopperGroupID>1</ShopperGroupID>
<ShopperIDs>sample string 5</ShopperIDs>
<ShoppersCount>9</ShoppersCount>
<Status>true</Status>
<TotalShopperGroupShopperIDs>sample string 10</TotalShopperGroupShopperIDs>
</ShopperGroup>
<ShopperGroup>
<Code>sample string 11</Code>
<CreatedBy>8</CreatedBy>
<CreatedDate>2025-10-30T01:37:15.1228296+00:00</CreatedDate>
<Deleted>true</Deleted>
<Discount>4.1</Discount>
<DiscountCalculationType>64</DiscountCalculationType>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-10-30T01:37:15.1228296+00:00</ModifiedDate>
<Name>sample string 3</Name>
<ProviderID>2</ProviderID>
<ShopperGroupID>1</ShopperGroupID>
<ShopperIDs>sample string 5</ShopperIDs>
<ShoppersCount>9</ShoppersCount>
<Status>true</Status>
<TotalShopperGroupShopperIDs>sample string 10</TotalShopperGroupShopperIDs>
</ShopperGroup>
</ArrayOfShopperGroup>