Seats and labor cost on user invites
Updated: POST /users takes a seat and a labor cost
Invite User now matches Invite Members in Coperniq. Along with name, email, role and phone, you can set the member’s seat and labor cost.
seatTypeisFIELD(Field),OFFICE(Office) orREADONLY(Viewer).- Field and Office seats must be on your plan, with one free. The API doesn’t buy seats. If none are free, the request returns
400, for exampleNo available Field seats. Buy more seats in Coperniq, then try again. laborHourlyRateis optional, in dollars per hour.roleIdsis required unlessseatTypeisREADONLY. A Viewer seat only takes roles whoseroleTypeisVIEW_AND_COMMENT. LeaveroleIdsout to use the default Viewer role.- Behavior change:
seatTypeis now required. Requests without it return400. - Behavior change: an invite that Coperniq couldn’t complete now returns
400with the reason. It used to return201with"status": "failed". - Inviting someone who is already an active member still returns
201with"status": "exists", and nothing changes.
Updated: GET /users returns seatType and laborHourlyRate
Each user now includes seatType and laborHourlyRate. Each is null when not set.
Updated: GET /roles returns roleType
Each role includes roleType, either REGULAR or VIEW_AND_COMMENT, so you can pick roles for Viewer seats.
