s1 API Host

<back to all web services

PlaceSimpleOrderRequest

The following routes are available for this service:
POST,OPTIONS/api/cart/place-simple-orderPlaces an order for the items in the cart. allows an option to be provided instead of the routes.User has to be authenticated to retrieve the information.
Parameters:
NameParameterData TypeRequiredDescription
PlaceSimpleOrderRequestbodyPlaceSimpleOrderRequestYesProvide the requested properties to place an order.

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/PlaceSimpleOrderRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

CustomerOrderReferenceNumber,PaymentMethod,DeliveryAddressId,DeliveryOption,ComplyWithDeliveryTimePreference,Comment
String,String,String,AsSoonAsPossible,False,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,UrgentMessages,PlacedOrder,OrderId
"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",,"{id:String,userName:String,sessionId:String,placedOn:0001-01-01,placeOrderRequest:{customerOrderReferenceNumber:String,paymentMethod:String,deliveryAddressId:String,externalDeliveryPaazlType:String,externalDeliveryShippingFee:0,comment:String},comment:String,totalAmount:0,portal:String,warehouse:String}",String