MIO API
https://api.makeit-online.de
The mio-auth-token is the session token obtained from authenticating to MIO API using your api key and is required on all calls after authentication.
All responses for the service come back as JSON. This header is required on all calls after authentication.
Use the authentication services to log in to the MIO API with your application key, to validate your session token or to end your session.
Pass in your API key to the autenticate call to get back a mio-auth-key to use in all subsequent calls. NOTE: The mio-auth-key is not required on this call. This call requires the API key to be posted to the system to get back a mio-auth-key.
Request headers
Request body
Send the API-Key in the request body.
Responses
Authentication success
Body
mio-auth-token
Request failed
Authentication failed
POST request with API-Key in the request body
curl --data "4H0F3V80-C2DB-4711-8093360D6899CB98" \
--header "Content-Type: application/json" \
https://api.makeit-online.de/v0.9/service/authenticate/
Response with “mio-auth-token” in the body
"B0A61931-E90D-4E49-B60A-741D4F91C3CE"
Authentication
Use this call to validate if your MIO session token is still valid
Request headers
The mio-auth-token is the session token obtained from authenticating to MIO API using your api key and is required on all calls after authentication.
Responses
Valid Authentication
Body
Request failed
Authentication failed
GET request with “mio-auth-token” in header
curl --header "Content-Type: application/json" \
--header "mio-auth-token: B0A61931-E90D-4E49-B60A-741D4F91C3CE" \
https://api.makeit-online.de/v0.9/service/authenticate/
Response if “mio-auth-token” is a valid auth token
"Valid API Auth-Token"
Authentication
Remove this session key for usage.
Request headers
The mio-auth-token is the session token obtained from authenticating to MIO API using your api key and is required on all calls after authentication.
Responses
Logout success
Body
Request failed
Authentication failed
DELETE request with “mio-auth-token” in header
curl --header "Content-Type: application/json" \
--header "mio-auth-token: B0A61931-E90D-4E49-B60A-741D4F91C3CE" \
--request DELETE \
https://api.makeit-online.de/v0.9/service/authenticate/
Authorization Deleted
Use the Order Services to retrieve all order data and manage the status of orders.
Authentication
Get an array of OrderIDs of open orders that are assigned to your API key / your user account. You need these OrderIDs to receive the complete order informations.
Request headers
The mio-auth-token is the session token obtained from authenticating to MIO API using your api key and is required on all calls after authentication.
Responses
Body
Unique OrderId
Request Failed
Authentication Failed
curl --header "Content-Type: application/json" \
--header "mio-auth-token: B0A61931-E90D-4E49-B60A-741D4F91C3CE" \
https://api.makeit-online.de/v0.9/service/order/list/open/
[
{"OrderId":1345},
{"OrderId":1346},
{"OrderId":1347}
]
Authentication
Get the complete order information.
Request headers
The mio-auth-token is the session token obtained from authenticating to MIO API using your api key and is required on all calls after authentication.
Request body
OrderId of the order to retrieve all informations from.
Responses
Body
Billing address
Company
Form of address
Title
First name
Last name
Street
ZIP
Country
CountryCode (ISO 3166 ALPHA-2)
Phone number
Mobile phone number
Fax number
City
Region / federal state
E-Mail Address
MIO boolean flag for address validation
Delivery address
Address line 1
Address line 2
Street
ZIP
City
Country
CountryCode (ISO 3166 ALPHA-2)
Cart
Item description
ItemID
Order quantity
Item price
Total price position
Discount position in percent
Discountable
No
Yes
VAT
No VAT
Low
High
Order DateTime Object
Payment method
Invoice
Direct debit
Direct debit from known bank account
BankDetails if Zahlungsart = 9
Account Holder
International Bank Account Number
Bank Identifier Code
Voucher value
Order VAT values
No VAT
Low in percent
High in percent
Order net values
Total net no VAT
Total net low VAT
Total net high VAT
Order gross values
Total gross no VAT
Total gross low VAT
Total gross high VAT
Total no VAT
Total low VAT
Total high VAT
Total Net/VAT
Total net
Total VAT
Total quantity discount
Total discount in €
Discount in percent
Charged in €
Auftragsnummer
Internal flag / request origin
Origin: document values
Origin: Live shop values
curl --data "8081" \
--header "Content-Type: application/json" \
--header "mio-auth-token: 234D9218-1459-4FEC-8E9A-BC9210931D0A" \
http://api.makeit-online.de/v0.9/service/order/
{
"Rechnungsanschrift":
{
"Firma":"",
"Anrede":"",
"Titel":"",
"Vorname":"Michael",
"Nachname":"Musterperson",
"Strasse":"Musterstraße 4",
"Plz":"87471",
"Ort":"Musterstadt",
"Region":"",
"Land":"Deutschland",
"CountryCode":"DE",
"Telefon":"",
"Mobil":"",
"Fax":"",
"Email":"m.musterperson@email-online.de"
"Valid":true,
},
"Lieferanschrift":
{
"Name_1":"",
"Name_2":"",
"Strasse":"",
"Plz":"",
"Ort":"",
"Land":""
"CountryCode":"",
},
"Warenkorb":
[
{
"PosText":"Positionstext / Produktbeschreibung",
"ArtikelNummer":"140",
"Menge":3
"Preis":7.80,
"PreisPos":22.92,
"Rabatt":0,
"RabattFaehig":1,
"MwSt":1
}
],
"SummePositionen":22.92,
"Fracht":5.50,
"SummeGesamt":28.42,
"GutscheinWert":0,
"Zahlungsart":0,
"MwstValStruct":
{
"0":0,
"1":7,
"2":19
},
"SummeMwSt":
{
"0":0,
"1":1.353333333333,
"2":0
},
"SummeNetto":
{
"0":0,
"1":27.066666666667,
"2":0
},
"SummeBrutto":
{ "0":0,
"1":28.42,
"2":0
},
"Total":{
"Netto":27.066666666667,
"MwSt":1.353333333333}
},
"SummeMengenrabatt":0,
"RabattProzent":2,
"SummeRabattProzent":0.48,
"Charged":0,
"Camefrom":"Document",
}
Authentication
Set the order status in the MIO order processing.
Request headers
The mio-auth-token is the session token obtained from authenticating to MIO API using your api key and is required on all calls after authentication.
Request body
OrderId of the order to change the order status.
Order Status
open
close
pending
cancellation
Responses
Body
returns true if the order status has been changed
curl --data "{\"OrderId\": 8081, \"Status\": 1}" \
--header "Content-Type: application/json" \
--header "mio-auth-token: 234D9218-1459-4FEC-8E9A-BC9210931D0A" \
https://api.makeit-online.de/v0.9/service/setOrderStatus/
true