Skip to main content
POST
Relink migrated inventory transaction reference_id to Arcus order UUIDs

Authorizations

Authorization
string
header
required

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

Idempotency-Key
string

Optional idempotency key. If supplied, retrying the same call within 24 hours returns the previous result.

Path Parameters

entity_id
string<uuid>
required

Body

application/json

Batch ITX source-relink payload (up to 500 items per call).

items
object[]
required
Required array length: 1 - 500 elements

Response

ITX source-relink result

Result envelope for ITX source relink. Each row in results reports independently; a failure on one item does not roll back the others. Pure column UPDATE on reference_id. No quantity, cost, balance, or FIFO layer is modified.

object
enum<string>
Available options:
migration_itx_source_relink_result
total
integer
relinked
integer
already_linked
integer
not_found
integer
failed
integer
results
object[]