Documentation
All requests to this API MUST include a HTTP HEADER called "api-key" containing the API key you received.
The following routes are available:
GET/api/availability/{SKU:[a-zA-Z0-9\-]+}/{PIECES:[0-9]+}
Will reveal if the requested pieces are available for the requested SKU.
GET/api/export/{xml/json}
Presents either an XML or JSON file containing SKU's and their belonging EAN.
POST/api/order
Will create an order.
Example JSON body:
{ "order_id": "12344", "orderlines": [ { "numItemsOrdered": 1, "stockKeepingUnit": "MAUBO0079", "disregardAvailability": true } ], "deliveryAddress": { "addressee": "Jonna Knudsen", "streetNameAndNumber": "Overgade 8", "cityTownOrVillage": "Lystrup", "postalCode": "8520", "countryCode": "DK" }, "deliveryDate": "2019-02-25", "ourReference": "OUR 4711", "goodsReceiversReference": "GRR 4711", "otherReference": "OTR 4711", "contactPerson": { "name": "Ole K. Karlsen", "email": "[email protected]", "phoneNumber": "87346987" } }
POST/api/v2/order
Will create an order (V2).
Example JSON body:
{ "orderNumber": "12344", "orderLines": [ { "numberOfItems": 1, "articleNumber": "MAUBO0079", "disregardAvailability": true } ], "deliveryAddress": { "addressee": "Jonna Knudsen", "streetNameAndNumber": "Overgade 8", "cityTownOrVillage": "Lystrup", "postalCode": "8520", "countryCode": "DK", "email": "[email protected]" }, "deliveryDate": "2019-02-25", "referenceNumber": "OUR 4711", "transporter": { "transporterCode": "PPP", "transporterServiceCode": "YYY", "transporterShopID": "12345" }, "emailNotification": { "toBeNotified": bool, "value": "[email protected]" }, "smsNotification": { "toBeNotified": bool, "value": "12345678" } }
GET/api/v2/order/{ORDER_ID:[0-9]+}
Gets the specified order.
DELETE/api/order/{ORDER_ID:[0-9]+}
Will delete the order.