Hab in einem anderen Post die Lösung gefunden.
Es kann folgende Payload verwendet werden, um an die Details zu gelangen:
{
"associations": {
"addresses": {
"associations": {
"country": []
}
},
"transactions": {
"associations": {
"stateMachineState": [],
"paymentMethod": []
}
},
"salesChannel": {
"associations": {}
},
"deliveries": {
"associations": {
"shippingOrderAddress": [],
"shippingMethod": {
"associations": {
"deliveryTime": []
}
}
}
},
"orderCustomer": {},
"lineItems": {
"associations": {
"product": []
}
}
},
"includes": {
"order": [
"id",
"orderNumber",
"createdAt",
"lineItems",
"billingAddressId",
"salesChannelId",
"addresses",
"deliveries",
"salesChannelId",
"salesChannel",
"stateMachineState",
"transactions",
"orderCustomer",
"shippingTotal"
],
"state_machine_state": [
"id",
"technicalName"
],
"sales_channel": [
"id",
"name"
],
"payment_method": [
"id",
"name",
"formattedHandlerIdentifier"
],
"shipping_method": [
"id",
"name",
"deliveryTimeId",
"deliveryTime"
],
"order_transaction": [
"id",
"stateMachineState",
"paymentMethodId",
"paymentMethod"
],
"order_address": [
"id",
"firstName",
"lastName",
"street",
"zipcode",
"city",
"company",
"department",
"countryId",
"country",
"phoneNumber"
],
"country": [
"iso"
],
"order_customer": [
"email"
],
"order_delivery": [
"id",
"shippingOrderAddressId",
"shippingMethodId",
"shippingMethod"
],
"order_line_item": [
"id",
"position",
"quantity",
"unitPrice",
"productId",
"product",
"payload"
],
"product": [
"productNumber",
"name"
]
}
}