curl --request PUT \
--url https://us.api.flexprice.io/v1/tasks/{id}/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"task_status": "PENDING"
}
'{
"message": "<string>"
}Use when updating task status (e.g. marking complete or failed from a worker). Typically called by backend processors.
curl --request PUT \
--url https://us.api.flexprice.io/v1/tasks/{id}/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"task_status": "PENDING"
}
'{
"message": "<string>"
}