Skip to main content
POST
Relink migrated JE source_id to Arcus order/invoice 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 JE source-relink payload (up to 500 items per call).

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

Response

JE source-relink result

Result envelope for JE source relink. Each row in results reports independently; a failure on one item does not roll back the others. Pure column UPDATE on the JE header (source_id / source_module / source_type / description). No line is touched and no amount is touched.

object
enum<string>
Available options:
migration_je_source_relink_result
total
integer
relinked
integer
already_linked
integer
not_found
integer
failed
integer
source_type_upgraded
integer

Total per-batch count of rows where source_type was upgraded from VERSA_MIGRATION to a canonical value. Added 2026-05-27.

descriptions_enriched
integer

Total per-batch count of rows where the description was rebuilt to the canonical native template. Added 2026-05-27.

results
object[]