Light Mode
Delete Shipping Rule
DELETE
/shipping/rules/{rule_id}Last modified:Â 16 days ago
This endpoint allows you to delete an existing shipping rule, by passing the rule_id
as a path parameter.
Request
Path Params
rule_id
integerÂ
required
Shipping Rule ID
Request samples
Responses
Progress In-Action(200)
Error Validation(404)
Progress In-Action
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
status
integerÂ
optional
Status of the Shipping Rule
Example:
200
success
booleanÂ
optional
Status Code of the Shipping Rule
Default:
true
data
objectÂ
optional
message
stringÂ
optional
Message of the Deletion of Shipping Rule
Example:
The ShippingRule has been removed successfully
code
integerÂ
optional
Code of the Deletion of the Shipping Rule
Example:
202
Example
{
"status": 200,
"success": true,
"data": {
"message": "The Shipping Rule has been removed successfully",
"code": 202
}
}
Last modified: 16 days ago