Schema
Delivery Fee Configuration
Represents the delivery fees for an associated outlet.
Overview
Properties
merchant_base_fee
oneOf
The "base" fee that is charged for all delivery orders.
Nullable
Yes
One of
One of 1
null
One of 2
reference
References Money.
distance_surcharges
array
The surcharges that will be levied against delivery orders that meet/exceed the specified distances from the outlet's location.
Array items
Items
object
Nested properties
distance_in_metres
integer
Minimum
1
Maximum
40075017
surcharge
reference
References Money.
spending_discounts
array
The discounts that will be applied to the delivery free if the order's sub total meets/exceeds a configured threshold.
Used by
Raw YAML
Download source
title: Delivery Fee Configuration
x-tags:
- Services
type: object
description: Represents the delivery fees for an associated outlet.
properties:
merchant_base_fee:
oneOf:
- type: 'null'
- $ref: ./Money.yaml
description: The "base" fee that is charged for all delivery orders.
distance_surcharges:
type: array
description: The surcharges that will be levied against delivery orders that meet/exceed the specified distances from the outlet's location.
items:
type: object
properties:
distance_in_metres:
type: integer
minimum: 1
maximum: 40075017
surcharge:
$ref: ./Money.yaml
spending_discounts:
type: array
description: The discounts that will be applied to the delivery free if the order's sub total meets/exceeds a configured threshold.
items:
type: object
properties:
sub_total:
$ref: ./Money.yaml
discount:
$ref: ./Money.yaml