Light Mode
Delete Shipping Rule
DELETE
/shipping/rules/{rule_id}Last modified: 2 months 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: 2 months ago