Unlink a drop-ship sales-order line
Clears a sales-order line’s link to its drop-ship purchase order so the line can be
re-sourced. With mode: "resource" (default) the line stays a drop-ship line (keeps its
vendor) and can be re-sourced by re-running the drop-ship creation wizard — this is the
vendor-swap recovery path. With mode: "stock" the line also drops its drop-ship flag
and becomes an ordinary locally-sourced line that can be fulfilled from warehouse stock.
Idempotent (a no-op when the line is not currently linked to a PO). Requires
orders:write scope. Idempotent via Idempotency-Key header.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Headers
Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.
255Body
resource keeps the line drop-ship (re-source via the wizard); stock makes
it locally sourceable (fulfill from warehouse inventory).
resource, stock Response
Line unlinked (or already unlinked)

