POST api/Shops/AddShopBasedPrices
Request Information
URI Parameters
None.
Body Parameters
ShopBasePriceInfoName | Description | Type | Additional information |
---|---|---|---|
AppId | string |
None. |
|
AppKey | string |
None. |
|
Sales Office | string |
None. |
|
Item | string |
None. |
|
Price | decimal number |
None. |
|
ShopId | integer |
None. |
|
ItemId | integer |
None. |
|
ShopProductPriceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppId": "sample string 1", "AppKey": "sample string 2", "Sales Office": "sample string 3", "Item": "sample string 4", "Price": 5.1, "ShopId": 6, "ItemId": 7, "ShopProductPriceId": 8 }
text/xml
Sample:
<ShopBasePriceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <AlternateCode>sample string 4</AlternateCode> <AppId>sample string 1</AppId> <AppKey>sample string 2</AppKey> <ItemId>7</ItemId> <ProductPrice>5.1</ProductPrice> <ShopCode>sample string 3</ShopCode> <ShopId>6</ShopId> <ShopProductPriceId>8</ShopProductPriceId> </ShopBasePriceInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShopLNName | Description | Type | Additional information |
---|---|---|---|
Updated | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Updated": "sample string 1", "ErrorMessage": "sample string 2" }
text/xml
Sample:
<ShopLN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <ErrorMessage>sample string 2</ErrorMessage> <Updated>sample string 1</Updated> </ShopLN>