Skip to main content
DELETE
Bulk delete catalog splits
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Bulk Delete Catalog Splits The Bulk Delete Catalog Splits endpoint (/split/bulk/catalog-splits) allows users to delete all splits associated with specific assets or products in bulk. Authorization:
  • Required role: owner only
Method: DELETE Request Payload: The request payload should be a JSON object with an array of asset or product IDs and the type specifying whether they are assets or products.
This request deletes all splits associated with the specified assets or products. For assets, only asset-level splits are deleted (where ProductId is null). For products, all splits associated with the product are deleted.

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
ids
string<uuid>[]
required

An array of asset or product IDs (UUIDs)

type
enum<string>
required

Type of entities - either "asset" or "product"

Available options:
asset,
product

Response

Catalog splits deleted successfully

message
string
totalProcessed
integer
totalSplitsDeleted
integer
failedDeletions
object[]