Preview Location Transfer
POST/api/v2/location-transfers/preview
What a bin-to-bin move would change, before it is made. Writes nothing. Needs the inventory.transfer permission and Warehouse Locations enabled on the warehouse.
warehouses:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body
warehouse_id(required, integer): the warehouse both bins are inlines(required, array, 1 to 100):product_id,from_warehouse_location_id,to_warehouse_location_id(different from the from bin),quantity(> 0)reason(optional):put_away,relocationorreplenishment; defaultrelocation. Does not affect the result.
Response
changes_available: false when every unit moves between bins of the same kind (both sellable, or both non-sellable)products[]: one row per product, with its lines added upavailable_before/available_after: Available at the warehouse. Units in a non-sellable bin are left out of Available.allocated: units of the warehouse's stock already allocated to orderschannels[]: one row per merchant-fulfilled listing whose stock SKU.io sets, for the product (is_set: false) and for up to 10 bundles that use it (is_set: true).beforeandafterinclude the channel's buffer, minimum and maximum rules and its reserved stock. Both are null on a channel that works out its own quantity (Storefront, Magento 2).will_updateis false while the channel's outbound inventory sync is off. Channels that do not sell from the warehouse are left out.channel_locationis set only on a channel with several stock locations. Handling-time caps are not included.sets_not_shown: bundles beyond the 10 listed;channels_worked_out: false when the move has more than 40 products, so this one's channels were not worked out
A move that the create endpoint would reject (a bin in another warehouse, a deprecated destination) is rejected here with the same 422. Bin balances are not checked.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.