Delete shipping method
When a particular shipping service is discontinued or certain shipping methods have become redundant or non-compliant with existing regulations, you may want to remove them so they’re not shown to shoppers.
This endpoint deletes a shipping method by ID.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Path Parameters
24-character ID generated in the response of Get shipping method endpoint - POST /shipping-methods
Response
Shipping method response model
Shipping method code such as Same Day Delivery (SDD), Standard Shipping (STH), etc.
Shipping method name
Address type. For example - APO: Army Post Office or MPO: Military Post Office
APO
, MPO
, PO
, Business
, Residence
User defined custom attributes. This is a placeholder for addition info (in key: value pairs)
Shipping carrier name
Minimum and maximum values (weight, cost, etc.)
Channel ID
User (ID or name) who configured the shipping method
Shipping cost given by merchant
Time of shipping method creation (UTC)
User (ID or name) who created the shipping method
Three-letter currency code as defined by ISO-4217
Time at which the current 'order day' is over. Note: If an order is delivered after the cutoff time, it's considered as delivered the next working day. For example, if the cutoff time is set to 5:00 PM, any orders delivered after this time will be considered to have been delivered the following business day.
Brief description of shipping method
Minimum and maximum dimensions
true: Shipping method is deleted. false: Shipping method isn't deleted.
Maximum duration required to deliver an order starting from the time it's placed
Minimum duration required to deliver an order starting from the time it's placed
State or region of delivery
Shipping method ID
Tax code associated with a shipping method. Depends on the applicable tax laws and regulations in each jurisdiction.
Time of last update to shipping method (UTC)
User (ID or name) who update the shipping method
Minimum and maximum values (weight, cost, etc.)
Was this page helpful?