Angenommen du möchtest über die Admin-Api, dann hilft das hier evtl weiter:
Ich habe mal nur alles, was required ist von der KI zusammenfassen lassen. Der Minimal-Payload wäre dann:
{
"orderDateTime": "2026-02-23T10:00:00+00:00",
"salesChannelId": "SALES_CHANNEL_ID",
"currencyId": "CURRENCY_ID",
"currencyFactor": 1.0,
"stateId": "ORDER_STATE_ID",
"orderCustomer": {
"customerId": "CUSTOMER_ID",
"email": "max.mustermann@example.com",
"firstName": "Max",
"lastName": "Mustermann"
},
"billingAddress": {
"firstName": "Max",
"lastName": "Mustermann",
"street": "Musterstraße 1",
"zipcode": "12345",
"city": "Berlin",
"countryId": "COUNTRY_ID"
},
"lineItems": [
{
"identifier": "custom-product-1",
"type": "custom",
"label": "Test Produkt",
"quantity": 1,
"priceDefinition": {
"type": "quantity",
"price": 10.0,
"quantity": 1,
"taxRules": [
{
"taxRate": 19,
"percentage": 100
}
]
},
"price": {
"unitPrice": 10.0,
"totalPrice": 10.0,
"quantity": 1,
"calculatedTaxes": [
{
"tax": 1.6,
"taxRate": 19,
"price": 10.0
}
],
"taxRules": [
{
"taxRate": 19,
"percentage": 100
}
]
}
}
],
"deliveries": [
{
"shippingMethodId": "SHIPPING_METHOD_ID",
"shippingDateEarliest": "2026-02-23T10:00:00+00:00",
"shippingDateLatest": "2026-02-23T10:00:00+00:00",
"shippingCosts": {
"unitPrice": 0,
"totalPrice": 0,
"quantity": 1,
"calculatedTaxes": [],
"taxRules": []
}
}
],
"transactions": [
{
"paymentMethodId": "PAYMENT_METHOD_ID",
"amount": {
"unitPrice": 10.0,
"totalPrice": 10.0,
"quantity": 1,
"calculatedTaxes": [
{
"tax": 1.6,
"taxRate": 19,
"price": 10.0
}
],
"taxRules": [
{
"taxRate": 19,
"percentage": 100
}
]
}
}
],
"price": {
"netPrice": 8.4,
"totalPrice": 10.0,
"positionPrice": 10.0,
"taxStatus": "gross",
"calculatedTaxes": [
{
"tax": 1.6,
"taxRate": 19,
"price": 10.0
}
],
"taxRules": [
{
"taxRate": 19,
"percentage": 100
}
]
}
}