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": "mVkTxol/9Eaf3skhTygq7A==", "priceGroupGuid": "c6135999-7f89-46f4-9fde-c9214f282aec", "g_UID": "KI7gb4xNFUSkdnxF2GNg+g==", "guid": "6fe08e28-4d8c-4415-a476-7c45d86360fa", "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>KI7gb4xNFUSkdnxF2GNg+g==</G_UID> <Guid>6fe08e28-4d8c-4415-a476-7c45d86360fa</Guid> <PriceGroupG_UID>mVkTxol/9Eaf3skhTygq7A==</PriceGroupG_UID> <PriceGroupGuid>c6135999-7f89-46f4-9fde-c9214f282aec</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.