Dispatch Strategies

Create dispatch strategy

Changed on

Create a new dispatch strategy (options group) with provider selection rules, fallback logic, and quoting configuration.

post/v1/options_group

Request

Request body

idstring nullable
labelstring required
allowedProvidersstring[] nullable
enableAutoDispatchboolean nullable
providerSelectionStrategy'lowest_price' | 'preferred_order' nullable
reassignOnFailureboolean nullable
enableMaxDeliveryFeeboolean nullable
maxDeliveryFeeCentsinteger nullable
preventReassignmentPriceIncreaseboolean 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
preventReassignmentPriceIncreaseboolean nullable
costSplitStrategy'none' | 'price' | 'percentage' nullable
costSplitMaxPercentageinteger nullable
costSplitMaxFixedPriceCentsinteger nullable
smartReassignmentboolean nullable

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status