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
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:
{ "priceGroupG_UID": "3Wj0x3WX6EK5ernxKKhRMA==", "priceGroupGuid": "c7f468dd-9775-42e8-b97a-b9f128a85130", "g_UID": "BgHxZdUaa0qOWs5nvdJLNQ==", "guid": "65f10106-1ad5-4a6b-8e5a-ce67bdd24b35", "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>BgHxZdUaa0qOWs5nvdJLNQ==</G_UID> <Guid>65f10106-1ad5-4a6b-8e5a-ce67bdd24b35</Guid> <PriceGroupG_UID>3Wj0x3WX6EK5ernxKKhRMA==</PriceGroupG_UID> <PriceGroupGuid>c7f468dd-9775-42e8-b97a-b9f128a85130</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.