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::update_customer_from_request( WP_REST_Request $request )
Updates the current customer session using data from the request (e.g. address data).
Description Description
Address session data is synced to the order itself later on by OrderController::update_order_from_cart()
Parameters Parameters
- $request
-
(Required) Full details about the request.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php