PATCH
/
v1
/
orders
/
{id}
/
scope-items
curl --request PATCH \
  --url https://sandbox.api.24hourinspections.com/v1/orders/{id}/scope-items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "items": [
    {
      "description": "<string>",
      "percent_complete": 0.5,
      "rationale": "<string>"
    }
  ]
}'
{}

Please Note: This operation is only allowed if the inspection of the order is complete.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
items
object[]
required

Response

204 - application/json
update line items in the order report

The response is of type any.