Batch Convert Products to Bundle/Kit
POST//:domain/api/v2/products/bundle-workshop/batch-convert
Batch convert standard products to bundle/kit types.
Authentication: Requires Bearer token.
Fields:
- products (required, array, min 1): Products to convert
- id (required, integer): Product ID
- type (required, string): Target type — bundle, kit, or standard
Skip rules — returned in data.skipped[]:
- Converting to
bundlewhen the source product has prior sale/assembly inventory movements (cannot become a bundle once it has movement history). - Converting to
bundleorkitwhen the source product has zero components (you must add components before promoting it).
The response payload includes data.converted_count for successful conversions and data.skipped[] for entries that were silently skipped, each with id, sku, and a human-readable reason.
Request
Responses
- 200
OK
Response Headers
Content-Type