Skip to main content
Version: 2021-07-28

Update Shipping Rate

PUT 

/store/shipping-zone/:shippingZoneId/shipping-rate/:shippingRateId

The "update Shipping Rate" API allows update a shipping rate to the system.

Request

shippingZoneId stringrequired

ID of the shipping zone

shippingRateId stringrequired

ID of the shipping rate that needs to be returned

application/json

Bodyrequired

    altIdstring

    Location Id or Agency Id

    altTypestring
    Available optionslocation
    namestring

    Name of the shipping zone

    descriptionstring

    Delivery description

    currencystring

    The currency of the amount of the rate / handling fee

    amountnumber

    The amount of the shipping rate if it is normal rate (0 means free ). Fixed Handling fee if it is a carrier rate (it will add to the carrier rate).

    conditionTypestring

    Type of condition to provide the conditional pricing

    Available optionsnonepriceweight
    minConditionnumber

    Minimum condition for applying this price. set 0 or null if there is no minimum

    maxConditionnumber

    Maximum condition for applying this price. set 0 or null if there is no maximum

    isCarrierRateboolean

    is this a carrier rate

    shippingCarrierIdstring

    Shipping carrier id

    percentageOfRateFeenumber

    Percentage of rate fee if it is a carrier rate.

    shippingCarrierServicesobject[]

    An array of items

application/json

Successful response

Schema
    statusbooleanrequired

    Status of api action

    messagestring

    Success message

    dataobjectrequired

    Shipping zone data