PUT api/priceGroup/{id}/product/{guid}
Sets a specified product's price group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identifier of price group to be added to |
globally unique identifier |
Required |
| guid |
Identifier of product to be added |
globally unique identifier |
Required |
Body Parameters
Price group product to contain store ids
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:
{
"priceGroupG_UID": "GFz1HdasXEqtBy7WxwDZ2w==",
"priceGroupGuid": "1df55c18-acd6-4a5c-ad07-2ed6c700d9db",
"g_UID": "gPrzKxu3Y0OerDYJxaMF6g==",
"guid": "2bf3fa80-b71b-4363-9eac-3609c5a305ea",
"storeIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<PriceGroupProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
<G_UID>gPrzKxu3Y0OerDYJxaMF6g==</G_UID>
<Guid>2bf3fa80-b71b-4363-9eac-3609c5a305ea</Guid>
<PriceGroupG_UID>GFz1HdasXEqtBy7WxwDZ2w==</PriceGroupG_UID>
<PriceGroupGuid>1df55c18-acd6-4a5c-ad07-2ed6c700d9db</PriceGroupGuid>
<StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StoreIDs>
</PriceGroupProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.