Log in
Interface

OrderCustomerManagementInterface

Magento\Sales\Api\OrderCustomerManagementInterface

What it does

This interface defines the contract for creating a customer account from an existing order.

Developers use this when they need to convert a guest checkout order into a registered customer account, typically after order completion or through admin action.

It ensures the order is properly linked to the newly created customer.

Public Methods

  • create()