Skip to main content
POST
Replace a vendor bill's lines

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 (UUID). Re-POST with same key returns cached 200 without re-processing.

Path Parameters

id
string<uuid>
required

Body

application/json
items
object[]
required

The full desired line set for the bill.

landed_cost_receipt_txn_ids
string<uuid>[] | null

Replaces the bill's receipt set; when absent (or null) the stored set is kept and re-judged.

allow_duplicate_override
boolean

Overrides a duplicate refusal, with duplicate_override_reason (see createVendorBillV1); audited.

duplicate_override_reason
string

Why the duplicate is a separate charge (required with allow_duplicate_override).

Response

The bill as edited.