» Shipping Profile DELETE API Documentation

Deleting specific shipping profiles

Endpoints:DELETE /admin/shipping_profiles/{id}

Purpose

The DELETE /admin/shipping_profiles/{id} endpoint is used to remove an existing shipping profile from the system. This operation permanently deletes the specified shipping profile and disassociates any linked shipping rules. It is useful when a shipping profile is no longer needed or has been replaced by an updated profile.

Path Parameters


Field
Type
Description
id
integer
The unique identifier of the categories

Query Parameters 

This endpoint does not have any query parameters.

Use Case

Use the DELETE /admin/shipping_profiles/{id} endpoint when you want to remove an outdated or redundant shipping profile. For example, if a business discontinues a specific shipping method or updates its delivery policies, this endpoint helps maintain a clean shipping configuration by deleting profiles that are no longer in use.

Request Body

No data is required for the request body.

Response

A successful DELETE /admin/shipping_profiles/{id} request returns a confirmation of the deletion, including the id of the deleted shipping profile, its name, and a status message. This ensures the profile was successfully removed from the system.

DELETE
https://{your_site_domain}/api/v4/admin/shipping_profiles/{id}
Try It Out