Skip to navigation

Preview a migration

Shows what committing the draft migration would do, for its latest revision. Reading it changes nothing.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

migrationstringRequired1-255 characters

The migration’s mig_ ID.

Headers

Paid-BetaenumRequired

This endpoint is in the migrations=v1 beta. Send this header to use it.

Allowed values:

Query parameters

cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.

Response

200
objectenum

The type of object. Always list.

Allowed values:
asOfdatetime
When Paid computed this preview. Every page of one revision reads the same computation.
datalist of objects
The selected orders on this page, one row per order.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

summaryobject
Totals over every selected order, not only this page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error