POST api/{siteCode}/Warehouse/CreateSKUGroup
Creates a SKU group.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteCode |
The site code. |
integer |
Required |
Body Parameters
The sku group.
SKUGroupName | Description | Type | Additional information |
---|---|---|---|
SKUGroupName |
The name or identity of the sku grouping. |
string |
Required Max length: 50 |
CustAccNum |
The customer account number. |
string |
Required Max length: 8 |
Description |
Description of the sku group. |
string |
None. |
AttributeHeading1 |
The attribute1 heading value |
string |
None. |
AttributeHeading2 |
The attribute2 heading value |
string |
None. |
AttributeHeading3 |
The attribute3 heading value |
string |
None. |
AttributeHeading4 |
The attribute4 heading value |
string |
None. |
AttributeHeading5 |
The attribute5 heading value |
string |
None. |
AttributeHeading6 |
The attribute6 heading value |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SKUGroupName": "sample string 1", "CustAccNum": "sample string 2", "Description": "sample string 3", "AttributeHeading1": "sample string 4", "AttributeHeading2": "sample string 5", "AttributeHeading3": "sample string 6", "AttributeHeading4": "sample string 7", "AttributeHeading5": "sample string 8", "AttributeHeading6": "sample string 9" }
application/xml, text/xml
Sample:
<SKUGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SKUGroupName>sample string 1</SKUGroupName> <CustAccNum>sample string 2</CustAccNum> <Description>sample string 3</Description> <AttributeHeading1>sample string 4</AttributeHeading1> <AttributeHeading2>sample string 5</AttributeHeading2> <AttributeHeading3>sample string 6</AttributeHeading3> <AttributeHeading4>sample string 7</AttributeHeading4> <AttributeHeading5>sample string 8</AttributeHeading5> <AttributeHeading6>sample string 9</AttributeHeading6> </SKUGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage and the ID of the newly created record
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. |