improvement
The Order Type Now Serves Current Orders, and V2 Names Are Deprecated
The Order type now returns every field that V2Order returns, for current and legacy orders. The order query and order lists no longer need v2Order to reach current-order fields.
Three mutations replace the versioned names: ordersCancel, ordersUncancel, and ordersReset. v2Order, cancelOrderV2, uncancelOrderV2, and resetOrderV2 are deprecated. cancelOrder and ordersCancelInBulk are also deprecated in favor of ordersCancel. All of them still work, and no removal date is set. V2Order and the V2* input types keep their names.
Check these changes to existing results:
Order.orderTypereturnsDTCfor orders stored asstandard. It used to fail, and those orders were dropped from any list that selected the field. Lists that selectorderTypenow return them.- Current orders return their shipping and billing addresses on
Order. They were null. Order.notesincludes notes saved under either order system.canBeArchivedandarchiveBlockingReasonsfollow the rules the archive mutation applies to each order system, so some answers change.V2Order.firstShipDatereturns a value instead of failing, andpreviousStatusreturns the previous status instead of null.