v1
latestOpenAPI 3.1.02026-07-2296226496.3 KBJob
Refresh Quotes by Job ID and Task ID
Request fresh price quotes from delivery providers for a specific task. Replaces any existing quotes with updated pricing.
post/v1/jobs/{jobId}/tasks/{taskId}/refresh_quotes
Path parameters
jobIdstring required
job id
job id
taskIdstring required
task id
task id
Response
OK
Example response
{
"jobId": "job_01234567890",
"quotes": [
{
"id": "qot_01234567890",
"providerId": "uber_standard_mini_mart",
"providerName": "Nash",
"providerLogo": "https://nash.com/logo.png",
"createdTime": "2021-01-01T00:00:00Z",
"expireTime": "2021-01-01T00:00:00Z",
"priceCents": 1000,
"taxAmountCents": 100,
"tollFeeCents": 100,
"nashFeeCents": 100,
"insuranceFeeCents": 100,
"currency": "USD",
"pickupWindow": "2021-01-01T00:00:00Z",
"dropoffEta": "2021-01-01T00:00:00Z",
"tags": [
"tag1",
"tag2",
"autodispatch_preferred_quote"
],
"costSplitCustomerCents": 100,
"costSplitBusinessCents": 100,
"totalPriceBreakdown": {
"subtotal": 1000,
"tax": 100,
"total": 1100
},
"totalPriceCents": 1000,
"rank": 1,
"price": 1000,
"isSuccessful": true,
"errorMessage": "Error message"
}
]
}