irgendwie funzt das nicht, wenn ich z.B. der Orderstatus via API ändern will, bspw:
{meineURL}/api/v3/_action/order/8793ab3829a04b72b2a02c88904209b4/state/in_progress
komt folgende Fehlermeldung
{
„errors“: [
{
„status“: „400“,
„code“: „SYSTEM__ILLEGAL_STATE_TRANSITION“,
„title“: „Bad Request“,
„detail“: "Illegal transition „in_progress“ from state „7e87ade3b8a5449ba81d7d22675d4f34“. Possible transitions are: ",
„meta“: {
„parameters“: {
„transition“: „in_progress“,
„currentState“: „7e87ade3b8a5449ba81d7d22675d4f34“,
„possibleTransitionsString“: „“,
„possibleTransitions“:
}
}
}
]
}
Die orderStates für die URL müssten doch die sein? https://github.com/shopware/platform/blob/master/src/Core/Checkout/Order/OrderStates.php