POST
/
v1
/
order
/
refresh_quotes
curl --request POST \
  --url https://api.sandbox.usenash.com/v1/order/refresh_quotes \
  --header 'Content-Type: application/json' \
  --data '{
  "orderId": "ord_1234567890",
  "externalOrderId": "ext_1234567890"
}'
{
  "quotes": [
    {
      "costSplitBusinessCents": null,
      "costSplitCustomerCents": null,
      "createdTime": "2024-09-03T20:43:45.899094",
      "currency": "USD",
      "dropoffEta": "2024-09-03T22:20:47.569000",
      "expireTime": "2024-09-03T21:43:45.899102",
      "id": "qot_2oWASjGxMtucwGgu6A7BYC",
      "insuranceFeeCents": 0,
      "nashFeeCents": 300,
      "pickupWindow": null,
      "priceCents": 100,
      "providerId": "dispatch_partner",
      "providerIsInternal": false,
      "providerLogo": "https://nash-provider-logos.s3.amazonaws.com/dispatchit-logo.jpg",
      "providerName": "Dispatch",
      "tags": null,
      "taxAmountCents": null,
      "tollFeeCents": 0,
      "totalPriceBreakdown": {
        "priceCents": 100
      },
      "totalPriceCents": 100,
      "type": "LOCAL"
    }
  ]
}

Body

application/json

Input for refreshing quotes for an order.

orderId
string | null

The id of the order to refresh quotes for

externalOrderId
string | null

The external id of the order to refresh quotes for

Response

200
application/json
OK
quotes
object[]
required

The quotes of the order

Generic serializer for quotes used in many endpoints.