curl --request POST \
--url https://api.sandbox.usenash.com/v1/options_group \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"label": "<string>",
"allowedProviders": [
"<string>"
],
"enableAutoDispatch": true,
"providerSelectionStrategy": "<string>",
"reassignOnFailure": true,
"enableMaxDeliveryFee": true,
"maxDeliveryFeeCents": 123,
"costSplitStrategy": "<string>",
"costSplitMaxPercentage": 123,
"costSplitMaxFixedPriceCents": 123,
"smartReassignment": true
}'
{
"id": "<string>",
"label": "<string>",
"allowedProviders": [
"<string>"
],
"enableAutoDispatch": true,
"providerSelectionStrategy": "<string>",
"reassignOnFailure": true,
"enableMaxDeliveryFee": true,
"maxDeliveryFeeCents": 123,
"costSplitStrategy": "<string>",
"costSplitMaxPercentage": 123,
"costSplitMaxFixedPriceCents": 123,
"smartReassignment": true
}
curl --request POST \
--url https://api.sandbox.usenash.com/v1/options_group \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"label": "<string>",
"allowedProviders": [
"<string>"
],
"enableAutoDispatch": true,
"providerSelectionStrategy": "<string>",
"reassignOnFailure": true,
"enableMaxDeliveryFee": true,
"maxDeliveryFeeCents": 123,
"costSplitStrategy": "<string>",
"costSplitMaxPercentage": 123,
"costSplitMaxFixedPriceCents": 123,
"smartReassignment": true
}'
{
"id": "<string>",
"label": "<string>",
"allowedProviders": [
"<string>"
],
"enableAutoDispatch": true,
"providerSelectionStrategy": "<string>",
"reassignOnFailure": true,
"enableMaxDeliveryFee": true,
"maxDeliveryFeeCents": 123,
"costSplitStrategy": "<string>",
"costSplitMaxPercentage": 123,
"costSplitMaxFixedPriceCents": 123,
"smartReassignment": true
}
Common schema for inputting a dispatch strategy.
OK
Common schema for inputting a dispatch strategy.