Get the company the customer is acting for.
OptionalcompanyId: stringGet all members of the company. Owner or admin only.
OptionalcompanyId: stringList pending invites. Owner or admin only.
OptionalcompanyId: stringRemove a member from the company. Owner or admin.
OptionalcompanyId: stringRemove a shipping address
OptionalcompanyId: stringRevoke a pending invite. Owner or admin.
OptionalcompanyId: stringSend a company membership invite. Owner or admin.
OptionalcompanyId: stringUpdate a member's role. Owner only.
OptionalcompanyId: string
Company (B2B) endpoints.
A customer may belong to several companies (e.g. a buyer purchasing on behalf of multiple clients). Every method takes an optional
companyIdto say which company to act on. When omitted, the API falls back to the sole membership; if the customer belongs to several and none is given, the API responds 400 (COMPANY_SELECTION_REQUIRED). Read the full list fromauth.getMe().companies.