/stores/{storeId}/members/invitesOwners only. Invites an email as staff or admin; the answer is the same whether or not the email has an account, and they join once they accept (invitations last 14 days).
collector.inviteStoreMember()store:staff:writeIdempotency-KeyX-Request-IdstoreIdstring (uuid)requiredobject
emailstringrequiredat most 320 characters
roleenumdefault "staff"
staffadmin202AcceptedInvited; the open invitations now.
object
invalid_requestinvalid_jsoninvalid_idempotency_key
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
unauthorized: Not signed in (no session or token, or an expired one).
forbidden: Only the store’s owners can do this.
not_found: Nothing at that address.
idempotency_in_progressalready_membertoo_many_invites
idempotency_in_progress: The first request with this key is still running.
already_member: That email is already on the team.
too_many_invites: Too many open invitations.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).