API reference · Area
Staff and roles
Create roles and choose their permissions, then assign each staff member a role and locations. Suspend or restore a staff member’s access when needed.
Required permissionsManage staff
Before you start
Choose Manage staff
These endpoints require Manage staff.
Read the available permissions
List permissions returns every permission a role can have, with its ID and label. Use those IDs when creating or changing a role.
Keep access within your own limits
You cannot change the store owner’s access or your own. A key cannot grant a role, permission or location beyond its own scopes and locations.
Find records
GET/permissionsList permissionsReturns each available permission’s id, label, help text, sensitivity and irreversibility flags, and required permissions in needs, grouped in display…Manage staffGET/rolesList rolesReturns the store’s roles with their permissions, record access, allowed places to open OrderPilot, discount limits and assigned staff.Manage staffGET/staff/accessList staff accessReturns staff with their roles, locations, suspension status and last activity, with the store owner first.Manage staffGET/staff/rulesSee the access rulesStaff and roles › Access rules, and who is waiting to be let in: what people without a role get, whose role applies on POS and what POS does when it…Manage staffGET/staff/{id}/accessGet a staff member’s accessReturns a staff member’s role, locations and suspension status.Manage staff
Create records
POST/rolesCreate a roleCreates and returns a role with a unique name, permissions, record access and allowed places to open OrderPilot; use lowercase permission IDs from GET…Manage staffPOST/staff/pos-staffAdd POS staffAdd someone POS saw sign in with their PIN who has never opened OrderPilot in the Shopify admin (a not_in_orderpilot row of pos_sign_ins in GET…Manage staffPOST/staff/preassignmentsPre-assign a rolePre-assign a role to someone who hasn’t opened OrderPilot yet, by the email they sign in to Shopify with: it is theirs, at every location, on their…Manage staff
Record actions
POST/staff/{id}/restoreRestore a staff member’s accessRestores a suspended staff member’s access under their assigned role, or the default role if none is assigned, and returns their access details.Manage staffPOST/staff/{id}/suspendSuspend a staff member’s accessSuspends access until restored, accepts an optional reason, moves the staff member’s Inbox conversations to Unassigned and returns their access…Manage staff
Update or delete records
PATCH/roles/{id}Change a roleUpdates the supplied role fields and returns the role; permissions replaces the full list, and changes affect everyone assigned to the role.Manage staffDELETE/roles/{id}Delete a roleDeletes an unused role and returns confirmation.Manage staffDELETE/staff/preassignments/{id}Remove a pre-assigned roleRemove a pre-assigned role before its person’s first visit.Manage staffPATCH/staff/rulesChange the access rulesChange the access rules, as Staff and roles › Access rules saves them: only the fields sent.Manage staffPATCH/staff/{id}/accessChange a staff member’s accessUpdates the supplied role_id (null for none), all_locations or location_ids from GET /locations, returns the saved access and records the change in…Manage staff
Guides for your integration
Connect with an API keyCreate a key, choose its permissions and include it in requests.Read pages and sync changesUse
next_cursor and updated_since, and track quotes that become orders.Retry without duplicate changesUse Idempotency-Key, retrieve responses for 24 hours and handle 409 OUTCOME_UNKNOWN.Receive updates through webhooksTrack changes to sales, customers, payments, Inbox messages, purchase orders and warranty claims.Stuck?

Send us your request, the response and the time you sent it. Remove your key before sharing.
Email support[email protected]