Bulk Migrate Prices

View as MarkdownOpen in Claude
Bulk migrate default prices for multiple products. This endpoint allows you to: - Update the default_price_id for multiple products in a single request - Optionally migrate active subscription items from the old default price to the new one Returns detailed results including successes and errors for each migration.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

account_idstringRequired

Request

This endpoint expects an object.
migrationslist of objectsRequired
List of product price migrations

Response

Successful Response
total_requestedinteger
Total migrations requested
successfulinteger
Number of successful migrations
failedinteger
Number of failed migrations
resultslist of objects or null
Details of successful migrations
errorslist of objects or null
Details of failed migrations

Errors