Openapi
Move a quantity of a variant from one location to another. The stock leaves the source and arrives at the destination in one step.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe inventory stock transfer payload.
application/jsonfromLocationId*inventoryLocationIdSchemauuidnote?|length <= 4000quantity*number0 < valuetoLocationId*inventoryLocationIdSchemauuidvariantId*stringuuidReturns a success payload when the stock has moved.
application/jsonsuccess*truetruecurl -X POST 'https://app.localhost/api/v1/organizations/123/inventory/stock-transfers' \ -H 'Content-Type: application/json' \ -d '{ "fromLocationId": "178bb398-90d2-4fc3-a4a0-37fc0eed2806", "quantity": 1, "toLocationId": "e81ad314-9cb9-45ae-9ad9-f1b5ebcc7aae", "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf"}'{ "success": true}