POST salesorder/create?customerNumber={customerNumber}&requestor={requestor}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerNumber | string |
None. |
|
requestor | string |
None. |
Body Parameters
POName | Description | Type | Additional information |
---|---|---|---|
CustomerNumber | string |
Max length: 10 |
|
BusinessUnit | integer |
Required |
|
ReferenceNumber | string |
None. |
|
PONumber | string |
None. |
|
EndUserPO | string |
None. |
|
ManufacturerDropShip | boolean |
None. |
|
RequestedDeliveryDate | date |
None. |
|
EnteredByEmailAddress | string |
None. |
|
Memo | string |
Max length: 500 |
|
ShipComplete | boolean |
None. |
|
ShipMethodServiceLevelCode | string |
Required |
|
ShippingAccountNumber | string |
None. |
|
ShippingAddress | Address |
Required |
|
ShippingInfo | POShippingInfo |
None. |
|
PayerId | string |
None. |
|
SalesOffice | string |
None. |
|
SalesGroup | string |
None. |
|
SalesDist | string |
None. |
|
Deal1 | string |
None. |
|
ConfigType | ConfigType |
None. |
|
ConfigID | string |
None. |
|
ConfigDeviceType | string |
None. |
|
ConfigURL | string |
None. |
|
ConfigURLType | ConfigURLType |
None. |
|
ConfigUserName | string |
None. |
|
ConfigPassword | string |
None. |
|
Lines | Collection of POLine |
Required |
|
Answers | Collection of VRDAnswer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerNumber": "sample string 1", "BusinessUnit": 2, "ReferenceNumber": "sample string 3", "PONumber": "sample string 4", "EndUserPO": "sample string 5", "ManufacturerDropShip": true, "RequestedDeliveryDate": "2025-04-03T19:20:08.3742118-04:00", "EnteredByEmailAddress": "sample string 7", "Memo": "sample string 8", "ShipComplete": true, "ShipMethodServiceLevelCode": "sample string 10", "ShippingAccountNumber": "sample string 11", "ShippingAddress": { "Name": "sample string 1", "Attn": "sample string 2", "Street1": "sample string 3", "Street2": "sample string 4", "City": "sample string 5", "State": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8" }, "ShippingInfo": { "ServiceLevelDescription": "sample string 1", "DeliveryPhoneNumber": "sample string 2", "PackingListNotes": "sample string 3", "CarrierInfo": { "Name": "sample string 1", "Phone": "sample string 2" } }, "PayerId": "sample string 12", "SalesOffice": "sample string 14", "SalesGroup": "sample string 15", "SalesDist": "sample string 16", "Deal1": "sample string 17", "ConfigType": 0, "ConfigID": "sample string 18", "ConfigDeviceType": "sample string 19", "ConfigURL": "sample string 20", "ConfigURLType": 0, "ConfigUserName": "sample string 21", "ConfigPassword": "sample string 22", "Lines": [ { "POLineNumber": 1, "ReferenceLineNumber": 1, "ItemNumber": "sample string 1", "PartNumberType": 0, "Quantity": 2, "Price": 1.0, "CustomerPartReference": "sample string 3", "Memo": "sample string 4", "PackingListNotes": "sample string 5", "NumberLicenses": 1, "DealIDs": [ "sample string 1", "sample string 2" ], "ContractStartDate": "2025-04-03T19:20:08.3742118-04:00", "ContractEndDate": "2025-04-03T19:20:08.3742118-04:00", "ConfigID": "sample string 6", "ConfigDeviceType": "sample string 7", "ConfigURL": "sample string 8", "ConfigURLType": 0, "ConfigUserName": "sample string 9", "ConfigPassword": "sample string 10", "ItemData": [ { "HardwareModelSKU": "sample string 1", "SerialNumber": "sample string 2" }, { "HardwareModelSKU": "sample string 1", "SerialNumber": "sample string 2" } ], "ConfigLabelData": [ { "Sequence": 1, "Key": "sample string 2", "Value": "sample string 3" }, { "Sequence": 1, "Key": "sample string 2", "Value": "sample string 3" } ] }, { "POLineNumber": 1, "ReferenceLineNumber": 1, "ItemNumber": "sample string 1", "PartNumberType": 0, "Quantity": 2, "Price": 1.0, "CustomerPartReference": "sample string 3", "Memo": "sample string 4", "PackingListNotes": "sample string 5", "NumberLicenses": 1, "DealIDs": [ "sample string 1", "sample string 2" ], "ContractStartDate": "2025-04-03T19:20:08.3742118-04:00", "ContractEndDate": "2025-04-03T19:20:08.3742118-04:00", "ConfigID": "sample string 6", "ConfigDeviceType": "sample string 7", "ConfigURL": "sample string 8", "ConfigURLType": 0, "ConfigUserName": "sample string 9", "ConfigPassword": "sample string 10", "ItemData": [ { "HardwareModelSKU": "sample string 1", "SerialNumber": "sample string 2" }, { "HardwareModelSKU": "sample string 1", "SerialNumber": "sample string 2" } ], "ConfigLabelData": [ { "Sequence": 1, "Key": "sample string 2", "Value": "sample string 3" }, { "Sequence": 1, "Key": "sample string 2", "Value": "sample string 3" } ] } ], "Answers": [ { "ID": "sample string 1", "Answer": "sample string 2" }, { "ID": "sample string 1", "Answer": "sample string 2" } ] }
application/xml, text/xml
Sample:
<PO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CustomerNumber>sample string 1</CustomerNumber> <BusinessUnit>2</BusinessUnit> <ReferenceNumber>sample string 3</ReferenceNumber> <PONumber>sample string 4</PONumber> <EndUserPO>sample string 5</EndUserPO> <ManufacturerDropShip>true</ManufacturerDropShip> <RequestedDeliveryDate>2025-04-03T19:20:08.3742118-04:00</RequestedDeliveryDate> <EnteredByEmailAddress>sample string 7</EnteredByEmailAddress> <Memo>sample string 8</Memo> <ShipComplete>true</ShipComplete> <ShipMethodServiceLevelCode>sample string 10</ShipMethodServiceLevelCode> <ShippingAccountNumber>sample string 11</ShippingAccountNumber> <ShippingAddress> <Name>sample string 1</Name> <Attn>sample string 2</Attn> <Street1>sample string 3</Street1> <Street2>sample string 4</Street2> <City>sample string 5</City> <State>sample string 6</State> <PostalCode>sample string 7</PostalCode> <Country>sample string 8</Country> </ShippingAddress> <ShippingInfo> <ServiceLevelDescription>sample string 1</ServiceLevelDescription> <DeliveryPhoneNumber>sample string 2</DeliveryPhoneNumber> <PackingListNotes>sample string 3</PackingListNotes> <CarrierInfo> <Name>sample string 1</Name> <Phone>sample string 2</Phone> </CarrierInfo> </ShippingInfo> <PayerId>sample string 12</PayerId> <SalesOffice>sample string 14</SalesOffice> <SalesGroup>sample string 15</SalesGroup> <SalesDist>sample string 16</SalesDist> <Deal1>sample string 17</Deal1> <ConfigType>None</ConfigType> <ConfigID>sample string 18</ConfigID> <ConfigDeviceType>sample string 19</ConfigDeviceType> <ConfigURL>sample string 20</ConfigURL> <ConfigURLType>FTP</ConfigURLType> <ConfigUserName>sample string 21</ConfigUserName> <ConfigPassword>sample string 22</ConfigPassword> <Lines> <POLine> <POLineNumber>1</POLineNumber> <ReferenceLineNumber>1</ReferenceLineNumber> <ItemNumber>sample string 1</ItemNumber> <PartNumberType>Unknown</PartNumberType> <Quantity>2</Quantity> <Price>1</Price> <CustomerPartReference>sample string 3</CustomerPartReference> <Memo>sample string 4</Memo> <PackingListNotes>sample string 5</PackingListNotes> <NumberLicenses>1</NumberLicenses> <DealIDs> <string>sample string 1</string> <string>sample string 2</string> </DealIDs> <ContractStartDate>2025-04-03T19:20:08.3742118-04:00</ContractStartDate> <ContractEndDate>2025-04-03T19:20:08.3742118-04:00</ContractEndDate> <ConfigID>sample string 6</ConfigID> <ConfigDeviceType>sample string 7</ConfigDeviceType> <ConfigURL>sample string 8</ConfigURL> <ConfigURLType>FTP</ConfigURLType> <ConfigUserName>sample string 9</ConfigUserName> <ConfigPassword>sample string 10</ConfigPassword> <ItemData> <ItemData> <HardwareModelSKU>sample string 1</HardwareModelSKU> <SerialNumber>sample string 2</SerialNumber> </ItemData> <ItemData> <HardwareModelSKU>sample string 1</HardwareModelSKU> <SerialNumber>sample string 2</SerialNumber> </ItemData> </ItemData> <ConfigLabelData> <ConfigLabelData> <Sequence>1</Sequence> <Key>sample string 2</Key> <Value>sample string 3</Value> </ConfigLabelData> <ConfigLabelData> <Sequence>1</Sequence> <Key>sample string 2</Key> <Value>sample string 3</Value> </ConfigLabelData> </ConfigLabelData> </POLine> <POLine> <POLineNumber>1</POLineNumber> <ReferenceLineNumber>1</ReferenceLineNumber> <ItemNumber>sample string 1</ItemNumber> <PartNumberType>Unknown</PartNumberType> <Quantity>2</Quantity> <Price>1</Price> <CustomerPartReference>sample string 3</CustomerPartReference> <Memo>sample string 4</Memo> <PackingListNotes>sample string 5</PackingListNotes> <NumberLicenses>1</NumberLicenses> <DealIDs> <string>sample string 1</string> <string>sample string 2</string> </DealIDs> <ContractStartDate>2025-04-03T19:20:08.3742118-04:00</ContractStartDate> <ContractEndDate>2025-04-03T19:20:08.3742118-04:00</ContractEndDate> <ConfigID>sample string 6</ConfigID> <ConfigDeviceType>sample string 7</ConfigDeviceType> <ConfigURL>sample string 8</ConfigURL> <ConfigURLType>FTP</ConfigURLType> <ConfigUserName>sample string 9</ConfigUserName> <ConfigPassword>sample string 10</ConfigPassword> <ItemData> <ItemData> <HardwareModelSKU>sample string 1</HardwareModelSKU> <SerialNumber>sample string 2</SerialNumber> </ItemData> <ItemData> <HardwareModelSKU>sample string 1</HardwareModelSKU> <SerialNumber>sample string 2</SerialNumber> </ItemData> </ItemData> <ConfigLabelData> <ConfigLabelData> <Sequence>1</Sequence> <Key>sample string 2</Key> <Value>sample string 3</Value> </ConfigLabelData> <ConfigLabelData> <Sequence>1</Sequence> <Key>sample string 2</Key> <Value>sample string 3</Value> </ConfigLabelData> </ConfigLabelData> </POLine> </Lines> <Answers> <Answer> <ID>sample string 1</ID> <Answer>sample string 2</Answer> </Answer> <Answer> <ID>sample string 1</ID> <Answer>sample string 2</Answer> </Answer> </Answers> </PO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CreateOrderResponseName | Description | Type | Additional information |
---|---|---|---|
OrderNumber | string |
None. |
|
OrderCreated | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "OrderNumber": "sample string 1", "OrderCreated": true, "ErrorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<CreateOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OrderNumber>sample string 1</OrderNumber> <OrderCreated>true</OrderCreated> <ErrorMessage>sample string 3</ErrorMessage> </CreateOrderResponse>