Skip to main content
POST
Post an opening balance to a GL account

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

Client-generated unique key for idempotent POST/PATCH/DELETE operations. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours. Pattern: or --.

Maximum string length: 255

Path Parameters

id
string<uuid>
required

GL account UUID.

Body

application/json
amount
number
required

Opening balance amount (signed per normal balance of the account).

as_of_date
string<date>

Effective date of the opening balance.

memo
string | null

Response

Opening balance posted.

The response is of type object.