POST api/priceGroup/{id}/products
Sets a group of products' price group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identifier of price group to be added to |
globally unique identifier |
Required |
Body Parameters
List of Price group products to contain store ids
Collection of PriceGroupProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| PriceGroupG_UID | Collection of byte |
None. |
|
| PriceGroupGuid | globally unique identifier |
None. |
|
| G_UID | Collection of byte |
None. |
|
| Guid | globally unique identifier |
None. |
|
| StoreIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"priceGroupG_UID": "z2kdJv/VGkew0v5EOfWeyw==",
"priceGroupGuid": "261d69cf-d5ff-471a-b0d2-fe4439f59ecb",
"g_UID": "X7Cm0LfShE2Fyw++RY6zqQ==",
"guid": "d0a6b05f-d2b7-4d84-85cb-0fbe458eb3a9",
"storeIDs": [
1,
2
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfPriceGroupProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
<PriceGroupProduct>
<G_UID>X7Cm0LfShE2Fyw++RY6zqQ==</G_UID>
<Guid>d0a6b05f-d2b7-4d84-85cb-0fbe458eb3a9</Guid>
<PriceGroupG_UID>z2kdJv/VGkew0v5EOfWeyw==</PriceGroupG_UID>
<PriceGroupGuid>261d69cf-d5ff-471a-b0d2-fe4439f59ecb</PriceGroupGuid>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
</PriceGroupProduct>
<PriceGroupProduct>
<G_UID>X7Cm0LfShE2Fyw++RY6zqQ==</G_UID>
<Guid>d0a6b05f-d2b7-4d84-85cb-0fbe458eb3a9</Guid>
<PriceGroupG_UID>z2kdJv/VGkew0v5EOfWeyw==</PriceGroupG_UID>
<PriceGroupGuid>261d69cf-d5ff-471a-b0d2-fe4439f59ecb</PriceGroupGuid>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
</PriceGroupProduct>
</ArrayOfPriceGroupProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.