POST api/product/{id}/competitionpricings
Save/Add Competition Pricing
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Product identifier |
globally unique identifier |
Required |
Body Parameters
Competition Pricing
ProductCompetitionPricing| Name | Description | Type | Additional information |
|---|---|---|---|
| Identifier | Collection of byte |
None. |
|
| IdentifierGuid | globally unique identifier |
None. |
|
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| CompetitionID | integer |
None. |
|
| Name | string |
Relation. This field may not always be loaded or used for updates. String length: inclusive between 0 and 64 |
|
| SellMultiple | integer |
None. |
|
| RetailPrice | integer |
None. |
|
| StoreName | string |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"identifier": "TGQwI57jL02wEEQN//hbSw==",
"identifierGuid": "2330644c-e39e-4d2f-b010-440dfff85b4b",
"pluG_UID": "d0F1hpyy0kWt5Z9wA+krhw==",
"pluGuid": "86754177-b29c-45d2-ade5-9f7003e92b87",
"competitionID": 1,
"name": "sample string 2",
"sellMultiple": 3,
"retailPrice": 4,
"storeName": "sample string 5"
}
application/xml, text/xml
Sample:
<ProductCompetitionPricing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <CompetitionID>1</CompetitionID> <Identifier>TGQwI57jL02wEEQN//hbSw==</Identifier> <IdentifierGuid>2330644c-e39e-4d2f-b010-440dfff85b4b</IdentifierGuid> <Name>sample string 2</Name> <PLUG_UID>d0F1hpyy0kWt5Z9wA+krhw==</PLUG_UID> <PluGuid>86754177-b29c-45d2-ade5-9f7003e92b87</PluGuid> <RetailPrice>4</RetailPrice> <SellMultiple>3</SellMultiple> <StoreName>sample string 5</StoreName> </ProductCompetitionPricing>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.