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": "sH6AgwN44kqp1bm+k0hPSg==", "identifierGuid": "83807eb0-7803-4ae2-a9d5-b9be93484f4a", "pluG_UID": "H+8zVkecXkW/ntwadTmHDg==", "pluGuid": "5633ef1f-9c47-455e-bf9e-dc1a7539870e", "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>sH6AgwN44kqp1bm+k0hPSg==</Identifier> <IdentifierGuid>83807eb0-7803-4ae2-a9d5-b9be93484f4a</IdentifierGuid> <Name>sample string 2</Name> <PLUG_UID>H+8zVkecXkW/ntwadTmHDg==</PLUG_UID> <PluGuid>5633ef1f-9c47-455e-bf9e-dc1a7539870e</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.