Updating existing jobs

Last updated 8 months ago

post
Update job

https://prod-api.spatula.io
/v2/graph/role/jobs/:id?access_token=AUTH_TOKEN
Request
Response
Path Parameters
:id
required
string
Job's id
Body Parameters
cancelled
optional
object
JSON object containing cancellation information
cancelled.note
required
string
Field of the cancelled object giving a human readable explanation of the cancellation
200: OK
The job was successfully updated
First Tab
Second Tab
curl -X POST -d '{"cancelled": {"note": "e.g. customer cancelled order"}}' 'https://prod-api.spatula.io/v2/graph/role/jobs/1234567890?access_token=AUTH_TOKEN'