Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Category
GET
POST
PUT
DELETE
Products
GET
POST
PUT
DELETE
Carts
GET
POST
PATCH
DELETE
Variations
GET
POST
PUT
DELETE
Currency
GET
POST
PUT
DELETE
Tax
Tax Profile
GET
POST
PUT
DELETE
Tax Rule
GET
POST
PUT
DELETE
Tax Code
GET
POST
PUT
DELETE
Tax Zone
GET
POST
PUT
DELETE
Discount
GET
POST
PUT
DELETE
Shipping
Shipping Profile
GET
POST
PUT
DELETE
Shipping Rate
GET
POST
PUT
DELETE
Shipping Rules
GET
POST
PUT
DELETE
Customer
GET
POST
PUT
DELETE
Orders
GET
POST
PATCH
Blog
GET
POST
PUT
DELETE
Settings
GET
» Shipping Rule DELETE API Documentation

Deleting a Shipping Rule

Endpoint: DELETE /admin/shipping_rules/{shipping_rule_id}

Purpose

This API deletes a specific shipping rule identified by its ID. This action removes the rule permanently, disassociating any linked shipping policies and zones.

Path Parameters

ParameterTypeDescription
shipping_rule_idIntegerRequired. ID of the shipping rule.

Query Parameters

No query parameters for this endpoint.

Use Case

An admin removes a shipping rule that is obsolete, incorrectly configured, or no longer aligns with the business's shipping strategies.

Request Body

No data is required for the request body.

Response

If successful, returns a 204 No Content response indicating the shipping rule has been deleted. No response body is returned.

DELETE
https://{your_site_domain}/api/v4/admin/shipping_rules/{shipping_rule_id}
Try It Out
Terms and Conditions
Privacy Policy

© 2024 WebCommander | All Rights Reserved

contact@webcommander.com
1300 797 571

WebCommander
About Us
Features
Pricing
Compare
Partners
Contact Us
Resource
Find a Partner
Help Centre
Community
Blog
Solutions
Inventory Management
Omnichannel Sales
Ecommerce Automation
B2B Ecommerce
Headless Commerce
Website Design and Performance