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
ProductCompetitionPricingName | 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": "AFFo1OXxekecbeH57f01Iw==", "identifierGuid": "d4685100-f1e5-477a-9c6d-e1f9edfd3523", "pluG_UID": "FJQUGdZFD02OEEyINCQIdA==", "pluGuid": "19149414-45d6-4d0f-8e10-4c8834240874", "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>AFFo1OXxekecbeH57f01Iw==</Identifier> <IdentifierGuid>d4685100-f1e5-477a-9c6d-e1f9edfd3523</IdentifierGuid> <Name>sample string 2</Name> <PLUG_UID>FJQUGdZFD02OEEyINCQIdA==</PLUG_UID> <PluGuid>19149414-45d6-4d0f-8e10-4c8834240874</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.