GET
/
v1
/
options_group
curl --request GET \
  --url https://api.sandbox.usenash.com/v1/options_group
[
  {
    "id": "opn_WyMhHj",
    "label": "New York City Strategy",
    "allowedProviders": [
      "prv_01234567890",
      "prv_01234567891"
    ],
    "enableAutoDispatch": true,
    "providerSelectionStrategy": "cheapest",
    "reassignOnFailure": true,
    "enableMaxDeliveryFee": true,
    "maxDeliveryFeeCents": 10000,
    "costSplitMaxFixedPriceCents": 10000,
    "costSplitMaxPercentage": 0.1,
    "costSplitStrategy": "price"
  }
]

Response

200 - application/json
OK
id
string
required

Dispatch Strategy ID

label
string
required

Dispatch Strategy Label

allowedProviders
string[] | null

Allowed providers

enableAutoDispatch
boolean | null

Enable auto dispatch

providerSelectionStrategy
string | null

Provider selection strategy

reassignOnFailure
boolean | null

Reassign on failure

enableMaxDeliveryFee
boolean | null

Enable max delivery fee

maxDeliveryFeeCents
integer | null

Max delivery fee in cents

costSplitMaxFixedPriceCents
integer | null

Cost split max fixed price in cents

costSplitMaxPercentage
number | null

Cost split max percentage

costSplitStrategy
string | null

Cost split strategy