updateRunItem
# updateRunItem
PATCH
/update-runs/{runId}/items/{accountId}
const url = 'http://localhost:8080/api/v1/update-runs/per_01j9x3k8m2q4r5s6t7v8w9y0z1/items/per_01j9x3k8m2q4r5s6t7v8w9y0z1';const options = { method: 'PATCH', headers: {cookie: 'hs_session=<hs_session>', 'Content-Type': 'application/json'}, body: '{"status":"opening","captureId":"per_01j9x3k8m2q4r5s6t7v8w9y0z1","detail":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8080/api/v1/update-runs/per_01j9x3k8m2q4r5s6t7v8w9y0z1/items/per_01j9x3k8m2q4r5s6t7v8w9y0z1 \ --header 'Content-Type: application/json' \ --cookie hs_session=<hs_session> \ --data '{ "status": "opening", "captureId": "per_01j9x3k8m2q4r5s6t7v8w9y0z1", "detail": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”runId
required
string
accountId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
status
required
string
captureId
string
detail
string
Responses
Section titled “Responses”Saved.