s1 API Host

<back to all web services

PlaceExternalOrderRequest

The following routes are available for this service:
POST,OPTIONS/api/cart/place-external-orderPlaces an order for the provided items. Only intended for orders from external user ids
Parameters:
NameParameterData TypeRequiredDescription
PlaceExternalOrderRequestbodyPlaceExternalOrderRequestYesProvide the requested properties to place an order.

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

HTTP + XML

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

POST /xml/oneway/PlaceExternalOrderRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: application/xml
Content-Length: length

<PlaceExternalOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cart">
  <AccountUserId>String</AccountUserId>
  <CartItems i:nil="true" />
  <Comment>String</Comment>
  <DeliveryDate>0001-01-01T00:00:00</DeliveryDate>
  <ExternalOrderId>String</ExternalOrderId>
  <ExternalSystemId>String</ExternalSystemId>
  <ExternalUserEmail>String</ExternalUserEmail>
  <ExternalUserId>String</ExternalUserId>
  <ExternalUserInformation>String</ExternalUserInformation>
  <IsPickup>false</IsPickup>
  <IsPremiumDelivery>false</IsPremiumDelivery>
  <LinkedCompanyId>String</LinkedCompanyId>
  <LinkedWarehouse>String</LinkedWarehouse>
  <LinkedWarehouseId>String</LinkedWarehouseId>
  <OrderDate>0001-01-01T00:00:00</OrderDate>
  <OrderReference>String</OrderReference>
</PlaceExternalOrderRequest>