»
Shipping Rate DELETE API Documentation
Deleting a Shipping Rate
Endpoint: DELETE /admin/shipping_rates/{shipping_rate_id}
Purpose
This API deletes a specific shipping rate from the system using its unique ID. This operation is irreversible and removes the associated policy and conditions permanently.
Path Parameters
Parameter | Type | Description |
---|---|---|
shipping_rate_id | Integer | Required. ID of the shipping rate. |
Query Parameters
No query parameters for this endpoint.
Use Case
An admin removes a shipping rate that is no longer applicable to current delivery policies or was created by mistake.
Request Body
No data is required for the request body.
Response
If successful, returns a 204 No Content response indicating the shipping rate has been deleted. No response body is returned.
DELETE
https://{your_site_domain}/api/v4/admin/shipping_rates/{shipping_rate_id}
Try It Out