Skip to main content
GET
Get project material order

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

projectId
integer
required

The id of the project.

materialOrderId
integer
required

The id of the material order.

Query Parameters

include
string

Comma-separated related resources to embed. Allowed: project, company, trade, contract, status, supplier, type, work_order, delivery_time, delivery_place.

Response

The requested project material order.

Materials ordered for a project's work order.

id
integer

The material order's unique identifier.

Example:

26410

tenant_id
integer

The id of your organization's account.

Example:

12

work_order_id
integer | null

The id of the work order these materials are for. Null if not linked to a work order. See Work Order.

Example:

15840

project_id
integer

The id of the project this material order belongs to.

Example:

9103

trade_id
integer | null

The id of the material order's trade. Null if not set. There's currently no endpoint to list trades.

Example:

12

contract_id
integer

The id of the contract this material order is associated with. See Contract.

Example:

3390

status_id
integer | null

The id of the material order's status, from your organization's configured material order statuses. Null if not set. Embed the status name with include=status.

Example:

2

supplier_id
integer | null

The id of the supplier this material order was placed with. Null if not set. See List suppliers.

Example:

88

delivery_time_id
integer | null

The id of the requested delivery time slot. Null if not set. There's currently no endpoint to list delivery times.

Example:

3

delivery_place_id
integer | null

The id of the requested delivery location. Null if not set. There's currently no endpoint to list delivery places.

Example:

1

type_id
integer | null

The id of the material order's type. Null if not set. There's currently no endpoint to list material order types.

Example:

4

description
string | null

A description of the materials ordered. Null if not set.

Example:

"30 squares of architectural shingles, underlayment, and flashing."

delivery_comment
string | null

Notes about the delivery. Null if not set.

Example:

"Deliver to the driveway before 9am."

cost_comment
string | null

Notes about the cost of this material order. Null if not set.

reference_number
string | null

The purchase order or reference number for this material order. Null if not set.

Example:

"PO-55210"

instructions
string | null

Instructions for fulfilling this material order. Null if not set.

Example:

"Stage materials near the garage."

cost_status
enum<integer>

The material order's cost status. 1 = pending, 2 = approved, 3 = paid.

Available options:
1,
2,
3
Example:

2

readable_cost_status
string

The display name for cost_status: Pending, Approved, or Paid.

Example:

"Approved"

cost_type
enum<integer>

The material order's cost type. 0 = event, 1 = supplier.

Available options:
0,
1
Example:

1

readable_cost_type
string

The display name for cost_type — Event or Supplier.

Example:

"Supplier"

estimate_cost_amount
string

The estimated cost of this material order, formatted as a decimal string.

Example:

"1800.00"

actual_cost_amount
string

The actual cost of this material order, formatted as a decimal string.

Example:

"0.00"

submitted_at
string<date> | null

The date this material order was submitted. Null if not yet submitted.

Example:

"2025-02-18"

back_ordered_at
string<date> | null

The date this material order was back-ordered. Null if not back-ordered.

delivery_at
string<date> | null

The date this material order was or will be delivered. Null if not set.

Example:

"2025-03-01"

created_at
string

Timestamp when the material order was created, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-18 10:00:00"