On May 10, the following endpoints will be removed from the V2 API:

DELETE /v2/products
DELETE /v2/option_sets (sometimes aliased as /v2/optionsets)
DELETE /v2/customers

This change ONLY affects the “collection delete” capability which deletes all objects in the system. For example, DELETE /v2/products which deletes all products on a store. The “single object” version of these endpoints, such as DELETE /v2/products/123, will continue to function normally.

As a reminder, both the V2 Products and V2 Customers endpoints are deprecated, and have been replaced with V3 endpoints. It is recommended to move to the V3 versions.

An equivalent endpoint to DELETE /v2/products is available here.

An equivalent endpoint to DELETE /v2/customers is available here.

Option Sets are intentionally not available in the V3 API, so there is no equivalent endpoint for DELETE /v2/option_sets. Option sets may still be deleted individually by their ID.