Light Mode
Delete Shipping Rule
DELETE
/shipping/rules/{rule_id}Last modified: a month 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
Unique identification number assigned to a Shipping Rule. Get a list of shipping rule IDs here.
Request samples
Responses
Progress In-Action(200)
Error Validation(404)
Unauthorized(401)
Progress In-Action
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
number
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.Response status Code
success
boolean
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
#/definitions/1387289optional
Example
{
"status": 200,
"success": true,
"data": {
"message": "The Shipping Rule has been removed successfully",
"code": 202
}
}
Last modified: a month ago