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
ID of the shipping zone
ID of the shipping rate that needs to be returned
- application/json
- Body
- Example (auto)
Bodyrequired
Location Id or Agency Id
locationName of the shipping zone
Delivery description
The currency of the amount of the rate / handling fee
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).
Type of condition to provide the conditional pricing
nonepriceweightMinimum condition for applying this price. set 0 or null if there is no minimum
Maximum condition for applying this price. set 0 or null if there is no maximum
is this a carrier rate
Shipping carrier id
Percentage of rate fee if it is a carrier rate.
An array of items
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"name": "North zone",
"description": "Ships next day",
"currency": "USD",
"amount": 99.99,
"conditionType": "price",
"minCondition": 99.99,
"maxCondition": 99.99,
"isCarrierRate": true,
"shippingCarrierId": "655b33a82209e60b6adb87a5",
"percentageOfRateFee": 10.99,
"shippingCarrierServices": [
{
"name": "Priority Mail Express International",
"value": "PriorityMailExpressInternational"
}
]
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Status of api action
Success message
Shipping zone data
{
"status": true,
"message": "Successfully created",
"data": {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"name": "North zone",
"description": "Ships next day",
"currency": "USD",
"amount": 99.99,
"conditionType": "price",
"minCondition": 99.99,
"maxCondition": 99.99,
"isCarrierRate": true,
"shippingCarrierId": "655b33a82209e60b6adb87a5",
"percentageOfRateFee": 10.99,
"shippingCarrierServices": [
{
"name": "Priority Mail Express International",
"value": "PriorityMailExpressInternational"
}
],
"_id": "655b33a82209e60b6adb87a5",
"shippingZoneId": "655b33a82209e60b6adb87a5",
"createdAt": "2023-12-12T09:27:42.355Z",
"updatedAt": "2023-12-12T09:27:42.355Z"
}
}