POST
/
v1
/
jobs
/
{jobId}
/
batch
/
{batchId}
/
refresh_quotes
curl --request POST \
  --url https://api.sandbox.usenash.com/v1/jobs/{jobId}/batch/{batchId}/refresh_quotes
{
  "jobId": "<string>",
  "quotes": [
    {
      "id": "qot_01234567890",
      "type": "<string>",
      "providerId": "uber_standard_mini_mart",
      "providerName": "Nash",
      "providerLogo": "https://nash.com/logo.png",
      "providerIsInternal": true,
      "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"
      ],
      "costSplitCustomerCents": 100,
      "costSplitBusinessCents": 100,
      "totalPriceBreakdown": {
        "subtotal": 1000,
        "tax": 100,
        "total": 1100
      },
      "totalPriceCents": 1000,
      "price": 1000,
      "isSuccessful": true,
      "errorMessage": "Error message"
    }
  ]
}

Path Parameters

jobId
string
required

job id

batchId
string
required

batch id

Response

200
application/json
OK

Expected output after refreshing quotes for a batch job.

jobId
string
required
quotes
object[]
required

Generic serializer for quotes used in many endpoints.