Skip to main content
GET
/
workers
/
{id}
/
orders
/
{order_id}
Get Worker Order
curl --request GET \
  --url https://api.roostedhr.com/api/1_12/workers/{id}/orders/{order_id} \
  --header 'X-API-KEY: <api-key>'
{
  "id": "<string>",
  "personnel_id": "<string>",
  "company_id": "<string>",
  "ordering_personnel_id": "<string>",
  "companies_personnel_orderables_id": "<string>",
  "name": "<string>",
  "cost": "<string>",
  "date": "<string>",
  "formatted_date": "<string>",
  "status": "0",
  "response_message": "<string>",
  "submitter": "<string>",
  "reach_out_email": "<string>",
  "deduction_types_id": "<string>",
  "status_datetime": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Worker ID

order_id
string
required

Order ID

Response

OK

A worker order for an orderable item (e.g., uniforms, equipment).

id
string

Order identifier.

personnel_id
string

Worker's personnel identifier.

company_id
string

Company identifier.

ordering_personnel_id
string

Personnel ID of the user who placed the order.

companies_personnel_orderables_id
string

Orderable item ID from configuration.

name
string

Name of the ordered item.

cost
string

Cost of the order (e.g. "27.00").

date
string

Raw order timestamp (YYYY-MM-DD HH:mm:ss).

formatted_date
string

Human-readable order date (e.g. "Mar 19, 2026").

status
enum<string>

Order status: "0" = pending, "1" = approved, "2" = completed.

Available options:
0,
1,
2
response_message
string | null

Response message from the approver, if any.

submitter
string

Name of the person who submitted the order.

reach_out_email
string

Email address associated with the order.

deduction_types_id
string

Deduction type identifier for payroll.

status_datetime
string

Timestamp of the last status change (YYYY-MM-DD HH:mm:ss).