Skip to main content

Move Location Audit Lines to Mapped Warehouse

POST 

/api/shopify/:integrationInstance/location-audit/move

Move open lines to the warehouse their Shopify location maps to, carrying each line's inventory reservation. Pass either sales_order_line_ids or a route (route_key) to move every open line on that route.

Required scope: integrations:write

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

Shipped lines, lines placed by hand and lines placed by a routing workflow are skipped. Lines already submitted to a shipping provider follow the provider's order-edit setting (update, cancel and resubmit, cancel and flag out of sync, or leave unchanged).

At most 200 lines per request. Requires the sales_orders.update permission.

Returns how many lines moved and how many were skipped.

Request​

Responses​

OK

Response Headers
    Content-Type