WebStoreUserCreatedEvent

Notifies subscribers of the creation of a new user for a WebStore. This object is available in API version 59.0 and later.

Supported Calls

describeSObjects()

Supported Subscribers

Subscriber Supported?
Apex Triggers Yes
Flows Yes
Processes Yes
Pub/Sub API Yes
Streaming API (CometD) Yes

Subscription Channel

/event/WebStoreUserCreatedEvent

Special Access Rules

WebStoreUserCreatedEvent is available only if the B2B or B2C Commerce license is enabled.

Fields

ActionSource

Type: picklist

Properties: Restricted picklist

Description: The source of the published event. Possible values are:

  • InviteToReorderPortal
  • Others
  • UserRegistration—Available in API version 64.0 and later.

AddedById

Type: reference

Properties: Nillable

Description: The ID of the user who invited the new user to the WebStore. This field is a relationship field.

Relationship Name: AddedBy

Relationship Type: Lookup

Refers To: User

AddedUserId

Type: reference

Properties: Nillable

Description: The ID of the user created for the WebStore. This field is a relationship field.

Relationship Name: AddedUser

Relationship Type: Lookup

Refers To: User

EventUuid

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message.

ReplayId

Type: string

Properties: Nillable

Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.

WebStoreId

Type: reference

Properties: Nillable

Description: The ID of the WebStore. This field is a relationship field.

Relationship Name: WebStore

Relationship Type: Lookup

Refers To: WebStore