<back to all web services

Dropshipment

Requires Authentication
Requires any of the roles:Klant, Kassa, Admin
The following routes are available for this service:
POST/Customer/Dropshipment/New
Dropshipment Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberbodystringNo
ReferencebodystringNo
CustomerEmailbodystringNo
DeliveryAddressbodyDropshipmentAddressNo
OrderLinesbodyList<DropshipmentOrderLine>No
SourcebodystringNo
DropshipmentAddress Parameters:
NameParameterData TypeRequiredDescription
AdresseeNameformstringNo
AdresseeCompanyNameformstringNo
StreetformstringNo
HouseNumberformstringNo
HouseNumberAddonformstringNo
PostalCodeformstringNo
CityformstringNo
CountryCodeformstringNo
DeliveryModeformstringNo
DeliveryInstructionformstringNo
DeliveryServicePointIDformstringNo
DropshipmentOrderLine Parameters:
NameParameterData TypeRequiredDescription
ProductCodeformstringNo
QuantityformintNo
ReferenceformstringNo
DropshipmentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
OrderStatusformstringNo
OrderLinesResponseformList<OrderLineResponse>No
OrderLineResponse Parameters:
NameParameterData TypeRequiredDescription
ProductCodeformstringNo
StatusformstringNo

To override the Content-type in your clients, use the 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/Dropshipment HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/csv
Content-Length: length

{"CustomerNumber":"String","Reference":"String","CustomerEmail":"String","DeliveryAddress":{"AdresseeName":"String","AdresseeCompanyName":"String","Street":"String","HouseNumber":"String","HouseNumberAddon":"String","PostalCode":"String","City":"String","CountryCode":"NONE","DeliveryMode":"NONE","DeliveryInstruction":"String","DeliveryServicePointID":"String"},"OrderLines":[{"ProductCode":"String","Quantity":0,"Reference":"String"}],"Source":"Undefined"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"OrderStatus":"Created","OrderLinesResponse":[{"ProductCode":"String","Status":"Ordered"}]}