POST api/{siteCode}/Warehouse/CreateSKURecords
Creates multiple SKU records.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteCode |
The site code. |
integer |
Required |
Body Parameters
The sku records.
Collection of SKURecordName | Description | Type | Additional information |
---|---|---|---|
StockDescID |
The ID of the SKU Group returned in GetSKUGroups. |
integer |
Required |
SKUNumber | string |
String length: inclusive between 0 and 50 |
|
SKUName | string |
String length: inclusive between 0 and 100 |
|
Desc1 |
A predetermined, fixed value for attribute1 |
string |
String length: inclusive between 0 and 50 |
Desc2 |
A predetermined, fixed value for attribute2 |
string |
String length: inclusive between 0 and 50 |
Desc3 |
A predetermined, fixed value for attribute3 |
string |
String length: inclusive between 0 and 50 |
Desc4 |
A predetermined, fixed value for attribute4 |
string |
String length: inclusive between 0 and 50 |
Desc5 |
A predetermined, fixed value for attribute5 |
string |
String length: inclusive between 0 and 50 |
Desc6 |
A predetermined, fixed value for attribute6 |
string |
String length: inclusive between 0 and 50 |
ItemsPerSKU |
The number of items within a single SKU |
decimal number |
None. |
Comments | string |
String length: inclusive between 0 and 1000 |
|
Price | decimal number |
None. |
|
SKUCurrency | string |
String length: inclusive between 0 and 50 |
|
Disabled | integer |
None. |
|
ReOrderLevel | integer |
None. |
|
Barcode | string |
String length: inclusive between 0 and 50 |
|
CommodityCode | string |
String length: inclusive between 0 and 50 |
|
DutyRate | decimal number |
None. |
|
Weight | decimal number |
None. |
|
ItemsPerStorageUnit | decimal number |
None. |
|
ImageLink | string |
String length: inclusive between 0 and 1000 |
|
PickCharge | decimal number |
None. |
|
CheckInCharge | decimal number |
None. |
|
DailyCharge | decimal number |
None. |
|
WeeklyCharge | decimal number |
None. |
|
MoveCharge | decimal number |
None. |
|
Cube | decimal number |
None. |
|
CustomsValue | decimal number |
None. |
|
ValueCurrency | string |
String length: inclusive between 0 and 50 |
|
CostPrice | decimal number |
None. |
|
CostCurrency | string |
String length: inclusive between 0 and 50 |
|
ReorderBySKUNumber | integer |
None. |
Request Formats
application/json, text/json
[ { "StockDescID": 1, "SKUNumber": "sample string 1", "SKUName": "sample string 2", "Desc1": "sample string 3", "Desc2": "sample string 4", "Desc3": "sample string 5", "Desc4": "sample string 6", "Desc5": "sample string 7", "Desc6": "sample string 8", "ItemsPerSKU": 1.1, "Comments": "sample string 9", "Price": 1.0, "SKUCurrency": "sample string 10", "Disabled": 1, "ReOrderLevel": 1, "Barcode": "sample string 11", "CommodityCode": "sample string 12", "DutyRate": 1.1, "Weight": 1.1, "ItemsPerStorageUnit": 1.1, "ImageLink": "sample string 13", "PickCharge": 1.0, "CheckInCharge": 1.0, "DailyCharge": 1.0, "WeeklyCharge": 1.0, "MoveCharge": 1.0, "Cube": 1.1, "CustomsValue": 1.0, "ValueCurrency": "sample string 14", "CostPrice": 1.0, "CostCurrency": "sample string 15", "ReorderBySKUNumber": 1 }, { "StockDescID": 1, "SKUNumber": "sample string 1", "SKUName": "sample string 2", "Desc1": "sample string 3", "Desc2": "sample string 4", "Desc3": "sample string 5", "Desc4": "sample string 6", "Desc5": "sample string 7", "Desc6": "sample string 8", "ItemsPerSKU": 1.1, "Comments": "sample string 9", "Price": 1.0, "SKUCurrency": "sample string 10", "Disabled": 1, "ReOrderLevel": 1, "Barcode": "sample string 11", "CommodityCode": "sample string 12", "DutyRate": 1.1, "Weight": 1.1, "ItemsPerStorageUnit": 1.1, "ImageLink": "sample string 13", "PickCharge": 1.0, "CheckInCharge": 1.0, "DailyCharge": 1.0, "WeeklyCharge": 1.0, "MoveCharge": 1.0, "Cube": 1.1, "CustomsValue": 1.0, "ValueCurrency": "sample string 14", "CostPrice": 1.0, "CostCurrency": "sample string 15", "ReorderBySKUNumber": 1 } ]
application/xml, text/xml
<ArrayOfSKURecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SKURecord> <StockDescID>1</StockDescID> <SKUNumber>sample string 1</SKUNumber> <SKUName>sample string 2</SKUName> <Desc1>sample string 3</Desc1> <Desc2>sample string 4</Desc2> <Desc3>sample string 5</Desc3> <Desc4>sample string 6</Desc4> <Desc5>sample string 7</Desc5> <Desc6>sample string 8</Desc6> <ItemsPerSKU>1.1</ItemsPerSKU> <Comments>sample string 9</Comments> <Price>1</Price> <SKUCurrency>sample string 10</SKUCurrency> <Disabled>1</Disabled> <ReOrderLevel>1</ReOrderLevel> <Barcode>sample string 11</Barcode> <CommodityCode>sample string 12</CommodityCode> <DutyRate>1.1</DutyRate> <Weight>1.1</Weight> <ItemsPerStorageUnit>1.1</ItemsPerStorageUnit> <ImageLink>sample string 13</ImageLink> <PickCharge>1</PickCharge> <CheckInCharge>1</CheckInCharge> <DailyCharge>1</DailyCharge> <WeeklyCharge>1</WeeklyCharge> <MoveCharge>1</MoveCharge> <Cube>1.1</Cube> <CustomsValue>1</CustomsValue> <ValueCurrency>sample string 14</ValueCurrency> <CostPrice>1</CostPrice> <CostCurrency>sample string 15</CostCurrency> <ReorderBySKUNumber>1</ReorderBySKUNumber> </SKURecord> <SKURecord> <StockDescID>1</StockDescID> <SKUNumber>sample string 1</SKUNumber> <SKUName>sample string 2</SKUName> <Desc1>sample string 3</Desc1> <Desc2>sample string 4</Desc2> <Desc3>sample string 5</Desc3> <Desc4>sample string 6</Desc4> <Desc5>sample string 7</Desc5> <Desc6>sample string 8</Desc6> <ItemsPerSKU>1.1</ItemsPerSKU> <Comments>sample string 9</Comments> <Price>1</Price> <SKUCurrency>sample string 10</SKUCurrency> <Disabled>1</Disabled> <ReOrderLevel>1</ReOrderLevel> <Barcode>sample string 11</Barcode> <CommodityCode>sample string 12</CommodityCode> <DutyRate>1.1</DutyRate> <Weight>1.1</Weight> <ItemsPerStorageUnit>1.1</ItemsPerStorageUnit> <ImageLink>sample string 13</ImageLink> <PickCharge>1</PickCharge> <CheckInCharge>1</CheckInCharge> <DailyCharge>1</DailyCharge> <WeeklyCharge>1</WeeklyCharge> <MoveCharge>1</MoveCharge> <Cube>1.1</Cube> <CustomsValue>1</CustomsValue> <ValueCurrency>sample string 14</ValueCurrency> <CostPrice>1</CostPrice> <CostCurrency>sample string 15</CostCurrency> <ReorderBySKUNumber>1</ReorderBySKUNumber> </SKURecord> </ArrayOfSKURecord>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |