[lightMode]
Delete Shipping Rule
DELETE
/shipping/rules/{rule_id}[updatedIn] 2 months ago
This endpoint allows you to delete an existing shipping rule, by passing the rule_id
as a path parameter.
Request
[message.pathParameter]
rule_id
integer
required
Shipping Rule ID
Request samples
[api.label.responses]
Progress In-Action(200)
Error Validation(404)
Progress In-Action
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
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
[api.label.example]
{
"status": 200,
"success": true,
"data": {
"message": "The Shipping Rule has been removed successfully",
"code": 202
}
}
[updatedIn] 2 months ago