Skip to main content
GET
Get a defective report

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

defectiveReportId
integer
required

Defective report id

Response

Successful response

A defective report from Inventory > Defectives.

id
integer
reported_date
string<date> | null
Example:

"2026-11-03"

reported_by
string | null
reported_at
string | null
defect_type
enum<integer>

10 Manufacture, 20 Production, 90 Other

Available options:
10,
20,
90
total_quantity
string

Sum of the line quantities, as a decimal string

total_cost
number
total_tax
number
status
integer

Always 1 (active); deleted reports are not returned

created_by
integer
updated_by
integer
created_at
string | null
updated_at
string | null
defective_report_rfq
object[]

The report's defective lines