Get a staff member
One person, in the same shape the list returns.
Errors
404 staff_not_found— unknown ID, or one belonging to another tenant.422 wrong_id_type:expected_staff_got_<table>— the prefix isn’tstf_.
GET
/api/v1/staff/{id}Authorization
AuthorizationBearer token (bloomcount_...) · headerrequiredPath parameters
idstringrequiredQuery parameters
fieldsstringComma-separated list of the fields to return, so a caller can ask for the parts of an object it actually uses. A dotted path reaches inside a collection, so `variants.sku` keeps the variants array with only each variant's SKU. The object's own id comes back whether or not it is listed, which keeps a trimmed response addressable. A name that the resource hasn't got returns 422 `unknown_fields:` followed by the names that did not resolve. Omit the parameter for the full object.
Responses
200OK
staffIdstringrequirednamestringrequiredhourlyRatenumber | nullmileageRatenumber | nulladdressstring | nullemailstring | nullphonestring | nullcompanyNamestring | nullwebsitestring | nullhasAccountbooleanrequiredTrue when this row belongs to a signed-in member. Those rows can't be deleted over the API.
401Missing or invalid API key, or revoked / expired.
errorstringrequired403Authenticated, but the key lacks the required scope or the tenant has no API access.
errorstringrequired404The requested resource doesn't exist or belongs to a different tenant.
errorstringrequired429Per-minute rate limit (60/min) or per-month cap exceeded.
errorstringrequired