Order API

No more orders via email and transmission errors: The Order API is the standardized interface for exchanging orders and responses between trading partners.

What is Order API

Order API is an open API standard, that trading partner could use to exchange digital orders. The project aims for an easy implementation. The order API includes standard to place orders, get an order status, give feedback to an order and request the availability of an article.

Why Order API?

There are several different standard that have the same features as order API like EDI, Order-X or Open Catalog Interface (SAP), but all these formats are not easy. By choosing the JSON format and using HTTP for transmission, the API is designed to be so simple that even small businesses and less complex software can use it. The Order API provides core functionality and various extension options.

Example

This is an example request to place an order with two articles (4x HA100100 und 3x HA100445):

curl -v -X POST https://api.wunderkopf.io/v1/order/ \
-H 'Authorization: Bearer access_token' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
 "version": "v1.0",
 "purchaser_order_ref": "123",
 "order_type": "default",
 "delivery_location_id": "12312123",
 "order_items": [
  {
   "order_item_id": "50dc5f59-bc4f-496d-9896-f604df8ce455",
   "artnr": "HA100100",
   "quantity": 4,
   "item_delivery_type": "default"
  },
  {
   "order_item_id": "83566b0e-4662-4c30-a743-65e9056a0dc1",
   "artnr": "HA100445",
   "quantity": 3,
   "item_delivery_type": "with_dispensation",
   "delivery_until": "2023-08-23"
  }
 ]
}'

Documentation

You find the full documentation with more examples here:

Documentation