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": "M0LfdHHTg0Kgy6e/vzBijA==", "identifierGuid": "74df4233-d371-4283-a0cb-a7bfbf30628c", "pluG_UID": "q2/RPaY9X0SlbT62F+oFRw==", "pluGuid": "3dd16fab-3da6-445f-a56d-3eb617ea0547", "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>M0LfdHHTg0Kgy6e/vzBijA==</Identifier> <IdentifierGuid>74df4233-d371-4283-a0cb-a7bfbf30628c</IdentifierGuid> <Name>sample string 2</Name> <PLUG_UID>q2/RPaY9X0SlbT62F+oFRw==</PLUG_UID> <PluGuid>3dd16fab-3da6-445f-a56d-3eb617ea0547</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.