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 PriceGroupProductName | 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": "8R3azCmjt0afNjetXHMIpw==", "priceGroupGuid": "ccda1df1-a329-46b7-9f36-37ad5c7308a7", "g_UID": "jkE05pzPWUiyPZiQkT2ltA==", "guid": "e634418e-cf9c-4859-b23d-9890913da5b4", "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>jkE05pzPWUiyPZiQkT2ltA==</G_UID> <Guid>e634418e-cf9c-4859-b23d-9890913da5b4</Guid> <PriceGroupG_UID>8R3azCmjt0afNjetXHMIpw==</PriceGroupG_UID> <PriceGroupGuid>ccda1df1-a329-46b7-9f36-37ad5c7308a7</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>jkE05pzPWUiyPZiQkT2ltA==</G_UID> <Guid>e634418e-cf9c-4859-b23d-9890913da5b4</Guid> <PriceGroupG_UID>8R3azCmjt0afNjetXHMIpw==</PriceGroupG_UID> <PriceGroupGuid>ccda1df1-a329-46b7-9f36-37ad5c7308a7</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.