Skip to main content

Relations Overview

RelationshipTypeDescription
Seller → MemberOne-to-ManyA seller has many team members
Seller → MemberInviteOne-to-ManyA seller has many pending member invitations
Seller → SellerOnboardingOne-to-OneA seller has one onboarding record

Data Models

Seller

This documentation provides a reference to the Seller data model. It belongs to the Seller Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the seller.
store_statusEnumProperty<["ACTIVE", "INACTIVE", "SUSPENDED"]>The status of the seller’s store. Defaults to ACTIVE.
nameTextPropertyThe name of the seller
handleTextPropertyThe unique handle of the seller
descriptionTextPropertyThe description of the seller
photoTextPropertyThe photo URL of the seller
emailTextPropertyThe email of the seller
phoneTextPropertyThe phone of the seller
address_lineTextPropertyThe address line of the seller
cityTextPropertyThe city of the seller
stateTextPropertyThe state of the seller
postal_codeTextPropertyThe postal code of the seller
country_codeTextPropertyThe country code of the seller
tax_idTextPropertyThe tax ID of the seller
membersHasMany<Member>The associated Member records.
invitesHasMany<MemberInvite>The associated MemberInvite records.
onboardingHasOne<SellerOnboarding>The associated SellerOnboarding record.

Member

This documentation provides a reference to the Member data model. It belongs to the Seller Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the member.
roleEnumProperty<["owner", "admin", "member"]>The role of the member in the seller’s team. Defaults to owner.
nameTextPropertyThe name of the member
emailTextPropertyThe email of the member
bioTextPropertyThe bio of the member
phoneTextPropertyThe phone of the member
photoTextPropertyThe photo URL of the member
sellerBelongsTo<Seller>The associated Seller.

MemberInvite

This documentation provides a reference to the MemberInvite data model. It belongs to the Seller Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the member invite.
emailTextPropertyThe email of the invited member.
roleEnumProperty<["owner", "admin", "member"]>The role that will be assigned to the member. Defaults to owner.
tokenTextPropertyThe invitation token.
expires_atDateTimePropertyThe date and time when the invitation expires.
acceptedBooleanPropertyWhether the invitation has been accepted. Defaults to false.
sellerBelongsTo<Seller>The associated Seller.

SellerOnboarding

This documentation provides a reference to the SellerOnboarding data model. It belongs to the Seller Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the seller onboarding.
store_informationBooleanPropertyWhether the store information step is completed. Defaults to false.
stripe_connectionBooleanPropertyWhether the Stripe connection step is completed. Defaults to false.
locations_shippingBooleanPropertyWhether the locations and shipping setup step is completed. Defaults to false.
productsBooleanPropertyWhether the products setup step is completed. Defaults to false.
sellerBelongsTo<Seller>The associated Seller.