Skip to main content

Apply Ship-With-Preorder Preview

POST 

/api/v2/inventory-allocations/ship-with-preorder/previews/:run/apply

Applies a preview: every row is re-validated against live stock and applied only if still valid (others are marked skipped with a reason). Nothing outside the preview is moved. Runs in the background.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

422 when the feature is switched off, the preview is more than 24 hours old, it is not ready, or it was already applied.

Request​

Responses​

OK

Response Headers
    Content-Type