RegisterGuestBuyer Class

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

Namespace

ConnectApi

RegisterGuestBuyer Methods

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.

registerGuestBuyer(webstoreId, accountId)

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

API Version

60.0

Requires Chatter

No

Signature

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

Parameters

webstoreId
Type: String
ID of the webstore.
accountId
Type: String
ID of the account for which the request is made.