Skip to main content

Delete a flat rate

DELETE 

/v1/rates/flat/:id

Remove a flat zone from the system

Request

Path Parameters

    id stringrequired

    Flat rate ID

Responses

Flat rate deleted successfully

Schema
    _id stringrequired

    The ID of the flat rate

    rateName stringrequired

    The name of the flat rate

    isActive booleanrequired

    Whether the flat rate is active

    extraWaitTimeFee numberrequired

    The extra wait time fee of the flat rate

    calculationMode numberrequired

    The calculation mode of the flat rate

    feePerStop numberrequired

    The fee per stop of the flat rate

    priceAdjustment objectrequired
    isActive boolean
    minimumPercent number
    maximumPercent number
    value number

    Default value: 0

    serviceType stringrequired

    The service type of the flat rate

    startDate stringrequired

    The start date of the flat rate

    endDate stringrequired

    The end date of the flat rate

    startTime stringrequired

    The start time of the flat rate

    endTime stringrequired

    The end time of the flat rate

    currencyISO stringrequired

    The currency ISO of the flat rate

    currencySymbol stringrequired

    The currency symbol of the flat rate

    isFeePerSeatActive booleanrequired

    Whether the fee per seat is active

    applyGeniusDiscount objectrequired
    enable boolean
    value number

    Default value: 5

    minSeat numberrequired

    The minimum seat of the flat rate

    createdDate date-timerequired

    The created date of the flat rate

    latestUpdate date-timerequired

    The latest update date of the flat rate

Loading...