v1

latestOpenAPI 3.1.02026-07-2296226496.3 KB
Dispatch Strategies

Update dispatch strategy

Update an existing dispatch strategy's provider selection rules, fallback logic, or quoting configuration. Only provided fields are updated.

patch/v1/options_group/{id}

Path parameters

idstring required

Request body

idstring nullable
labelstring required
allowedProvidersstring[] nullable
enableAutoDispatchboolean nullable
providerSelectionStrategy'lowest_price' | 'preferred_order' nullable
reassignOnFailureboolean nullable
enableMaxDeliveryFeeboolean nullable
maxDeliveryFeeCentsinteger nullable
costSplitStrategy'none' | 'price' | 'percentage' nullable
costSplitMaxPercentageinteger nullable
costSplitMaxFixedPriceCentsinteger nullable
smartReassignmentboolean nullable

Response

OK

idstring nullable
labelstring required
allowedProvidersstring[] nullable
enableAutoDispatchboolean nullable
providerSelectionStrategy'lowest_price' | 'preferred_order' nullable
reassignOnFailureboolean nullable
enableMaxDeliveryFeeboolean nullable
maxDeliveryFeeCentsinteger nullable
costSplitStrategy'none' | 'price' | 'percentage' nullable
costSplitMaxPercentageinteger nullable
costSplitMaxFixedPriceCentsinteger nullable
smartReassignmentboolean nullable