Deleting a Specific Shipping Profiles
Endpoint:DELETE /admin/shipping_profiles/{id}
Purpose
The /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
Parameter |
Type |
Description |
---|---|---|
id |
Integer |
The unique identifier of the categories |
Query Parameters
This endpoint does not have any query parameters.
Use Case
Use the /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 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.