PlaceOrder
Description
This method is used to place an order. We will sent again the complete order given from the last CalculateOrder result including billing and shipping address information.
SOAP API:
Action
http://shoxl.com/ShoxlService/PlaceOrder
Style
Document
Input (Literal)
The input of this method is the document element tns:PlaceOrder having the structure defined by the following table.
Element
Type
Occurs
Description
Sequence
1..1
request
tns:PlaceOrderRequest
0..1
Complex Type: tns:PlaceOrderRequest
The PlaceOrderRequest contains all the information to place an order into the ERP system.
Component
Type
Occurs
Description
Sequence
1..1
AccountNumber
s:string
1..1
This is the (project) account number of the customer.
Order
tns:Order
1..1
The Order, the ComplexType Order contains all the order details. For the complete description check the Order section in the documentation.
Complex Type: tns:Order
The Order contains all the information to place an order in the ERP system but also to show on the website when we are showing order history.
Complex Type: tns:ArrayOfOrderLine
Complex Type: tns:OrderLine
A order line contains all the information of an ordered product. In case of order history it can also contain a order line status code and track and trace information.
Output (Literal)
The output of this method is the document element tns:PlaceOrderResponse having the structure defined by the following table.
Complex Type: tns:PlaceOrderResult
The PlaceOrderResult contains the confirmation that an order was placed succesful in the ERP system.
REST API:
URL: /Shoxl/v1/PlaceOrder Method: POST
Changes in ShoxlRestApiSwagger_v8
The vatCode field on OrderLine is replaced by a new taxPercentage field
Changes in ShoxlRestApiSwagger_v12
Added BillingFirstName, BillingMiddleName and BillingLastName fields
Changed description of BillingName1 field
Added ShippingFirstName, ShippingMiddleName and ShippingLastName fields
Changed description of ShippingName1 field
Added EmailAddress, PhoneNumber and MobilePhoneNumber fields
Added ShippingEmailAddress and ShippingPhoneNumber
Changes in ShoxlRestApiSwagger_v16
A new field "context" is introduced in the request body. When configured this object contains key value pairs (e.g. divisionCode).
Request body:
PlaceOrderRequest{
}
Order{
}
OrderLine{
}
Example:
Response body:
PlaceOrderResult{
}
Example:
Last updated
Was this helpful?