diff --git a/src/Model/Resolver/PlaceOrder.php b/src/Model/Resolver/PlaceOrder.php index 55e8050..9faf823 100644 --- a/src/Model/Resolver/PlaceOrder.php +++ b/src/Model/Resolver/PlaceOrder.php @@ -99,7 +99,8 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value return [ 'order' => [ - 'order_id' => $order->getIncrementId(), + 'order_id' => $order->getId(), + 'order_number' => $order->getIncrementId(), ], ]; } catch (NoSuchEntityException $e) {