RegisterGuestBuyer Class

Register a guest buyer for a webstore using an account ID, enabling a guest buyer to order on behalf of another buyer.

ConnectApi

These methods are for RegisterGuestBuyer. All methods are static. Your org must have the Order Management Growth license or Order Management as part of Connected Commerce.

Register a guest buyer for a webstore using an account ID. This method enables a guest buyer to order on behalf of another buyer.

60.0

No

public static ConnectApi.RegisterGuestBuyerOutputRepresentation registerGuestBuyer(String webstoreId, String accountId)

webstoreId

Type: String

ID of the webstore.

accountId

Type: String

ID of the account for which the request is made.

Type: ConnectApi.RegisterGuestBuyerOutputRepresentation