These routes belong are responsible for managing freelancer actions on a job.
Propose to complete a customer job request.
Method | URI | Authentication |
---|---|---|
POST |
/business/{unique_id}/marketplace/job/{id}/accept |
true |
{success} Example Success Response Code
200
Content
{
"success": true,
"message": "The customer has been notified of your proposal.",
"data": null
}
{danger} Example Error Response
Code 400
Content
{
"success": false,
"message": "You have already proposed on this job.",
"data": null
}
Withdraw from a customers job request.
Method | URI | Authentication |
---|---|---|
POST |
/business/{unique_id}/marketplace/job/{id}/withdraw |
true |
{success} Example Success Response Code
200
Content
{
"success": true,
"message": "You have withdrawn from this job.",
"data": null
}
{danger} Example Error Response
Code 400
Content
{
"success": false,
"message": "Illegal status transition.",
"data": null
}
A worker has arrived to the job. This is where the customer gets charged.
Method | URI | Authentication |
---|---|---|
POST |
/business/{unique_id}/marketplace/job/{id}/arrive |
true |
{success} Example Success Response Code
200
Content
{
"success": true,
"message": "Your customer has been notified of your arrival.",
"data": null
}
{danger} Example Error Response
Code 400
Content
{
"success": false,
"message": "Illegal status transition.",
"data": null
}
The worker has completed the job and is waiting for the customer to confirm.
Method | URI | Authentication |
---|---|---|
POST |
/business/{unique_id}/marketplace/job/{id}/complete |
true |
{success} Example Success Response Code
200
Content
{
"success": true,
"message": "Your customer has been notified of your arrival.",
"data": null
}
{danger} Example Error Response
Code 400
Content
{
"success": false,
"message": "Illegal status transition.",
"data": null
}