Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Checkout::set_draft_order_id( integer $order_id )
Updates draft order data in the customer session.
Description Description
Parameters Parameters
- $order_id
-
(Required) Draft order ID.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php