PUT api/SKUs/Update
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.clsPLU| Name | Description | Type | Additional information |
|---|---|---|---|
| PLUNumber | string |
Required String length: inclusive between 0 and 35 |
|
| SecondaryPLUNumber | string |
String length: inclusive between 0 and 35 |
|
| TillDescription | string |
Required String length: inclusive between 0 and 30 |
|
| FullDescription | string |
Required String length: inclusive between 0 and 4000 |
|
| ProductDepartmentID | integer |
Required |
|
| SupplierID | integer |
Required |
|
| TaxCodeID | integer |
Required |
|
| State | integer |
None. |
|
| ProductTypeID | integer |
Required |
|
| Price1 | decimal number |
None. |
|
| Price2 | decimal number |
None. |
|
| Price3 | decimal number |
None. |
|
| Price4 | decimal number |
None. |
|
| Price5 | decimal number |
None. |
|
| Price6 | decimal number |
None. |
|
| Price7 | decimal number |
None. |
|
| Price8 | decimal number |
None. |
|
| Price9 | decimal number |
None. |
|
| Price10 | decimal number |
None. |
|
| RRP |
The Recommended Retail Price. Can be used to display a Saving for certain website carts. |
decimal number |
None. |
| BuyCost |
The ex-vat price to buy the item from the supplier |
decimal number |
None. |
| StyleID |
Optional. Code to tie multiple PLUs together that are the same product, but that come in different colours/sizes. See the Styles Controller. |
string |
String length: inclusive between 0 and 12 |
| ColourID | string |
String length: inclusive between 0 and 6 |
|
| Size | string |
String length: inclusive between 0 and 50 |
|
| AdditionalBarcodes | Collection of string |
None. |
|
| ShopVisibility | EskimoClassLibraries.clsShopVisibility |
Required |
|
| ShowOnWeb | boolean |
None. |
|
| PersonalisationText | string |
String length: inclusive between 0 and 50 |
|
| PersonalisationSurCharge | decimal number |
None. |
|
| CustomerID | string |
None. |
Request Formats
application/json, text/json
{
"PLUNumber": "sample string 1",
"SecondaryPLUNumber": "sample string 2",
"TillDescription": "sample string 3",
"FullDescription": "sample string 4",
"ProductDepartmentID": 5,
"SupplierID": 6,
"TaxCodeID": 7,
"State": 1,
"ProductTypeID": 8,
"Price1": 9.0,
"Price2": 10.0,
"Price3": 11.0,
"Price4": 12.0,
"Price5": 13.0,
"Price6": 14.0,
"Price7": 15.0,
"Price8": 16.0,
"Price9": 17.0,
"Price10": 18.0,
"RRP": 19.0,
"BuyCost": 20.0,
"StyleID": "sample string 21",
"ColourID": "sample string 22",
"Size": "sample string 23",
"AdditionalBarcodes": [
"sample string 1",
"sample string 2"
],
"ShopVisibility": {
"VisibleEverywhere": true,
"ShopIDs": [
"sample string 1",
"sample string 2"
]
},
"ShowOnWeb": true,
"PersonalisationText": "sample string 25",
"PersonalisationSurCharge": 26.0,
"CustomerID": "sample string 27"
}
application/xml, text/xml
<clsPLU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
<AdditionalBarcodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</AdditionalBarcodes>
<BuyCost>20</BuyCost>
<ColourID>sample string 22</ColourID>
<CustomerID>sample string 27</CustomerID>
<FullDescription>sample string 4</FullDescription>
<PLUNumber>sample string 1</PLUNumber>
<PersonalisationSurCharge>26</PersonalisationSurCharge>
<PersonalisationText>sample string 25</PersonalisationText>
<Price1>9</Price1>
<Price10>18</Price10>
<Price2>10</Price2>
<Price3>11</Price3>
<Price4>12</Price4>
<Price5>13</Price5>
<Price6>14</Price6>
<Price7>15</Price7>
<Price8>16</Price8>
<Price9>17</Price9>
<ProductDepartmentID>5</ProductDepartmentID>
<ProductTypeID>8</ProductTypeID>
<RRP>19</RRP>
<SecondaryPLUNumber>sample string 2</SecondaryPLUNumber>
<ShopVisibility>
<ShopIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</ShopIDs>
<VisibleEverywhere>true</VisibleEverywhere>
</ShopVisibility>
<ShowOnWeb>true</ShowOnWeb>
<Size>sample string 23</Size>
<State>1</State>
<StyleID>sample string 21</StyleID>
<SupplierID>6</SupplierID>
<TaxCodeID>7</TaxCodeID>
<TillDescription>sample string 3</TillDescription>
</clsPLU>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |