pending_approval status, ensures the default seller roles exist, creates (or reuses) the owner member, and links the member’s auth identity via app metadata. Optionally sets the seller address, professional details, and payment details in the same run. Triggered by POST /vendor/sellers during vendor registration. Emits seller.created.
Usage
Input
Auth identity to bind to the owner member.
Seller to create;
status is forced to pending_approval.Email for the new owner member; required when
member_id is not provided.Existing member to link as owner instead of creating one.
Owner member first name.
Owner member last name.
Seller address to set after creation.
Professional details to set after creation.
Payment details to set after creation.
Custom data passed through to the workflow hooks.
Result
The created seller.
Hooks
sellerAccountCreated— runs after the account is assembled with{ seller, additional_data }.