Admin API / Mutations
approveSellerApplications
Approves pending seller applications. Requires the ADMIN role or higher. Each approval also requires a role above the applicant's stored role. An approval makes the applicant an ACTIVE member at SELLER, or keeps a higher stored role, creates the membership when none exists, sets the go-live permission from goLive and the store's default seller fee, stores note on the application, and emails the applicant from the store owner. An applicant who is already an ACTIVE member at SELLER or higher keeps the seller fee and the go-live permission, and goLive: true gives the permission. Each applicant who is not an ACTIVE member at SELLER or higher takes a seat of the plan's seller limit. Without enough free seats for every approval, the call returns SellerLimitReachedError and changes nothing. A store that requires a paid seller plan gives SellerSubscriptionRequiredError for each application. A repeat with the same idempotencyKey and input within 24 hours returns the first result, changes nothing and sends no email.
admin:members:writeRequires this member role or higher: ADMINapproveSellerApplications(
input: ApproveSellerApplicationsInput!
): ApproveSellerApplicationsPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | ApproveSellerApplicationsInput! | The applications and the decision options. |