Skip to main content
POST
Apply a vendor credit to a vendor bill

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.

Path Parameters

id
string<uuid>
required

Body

application/json
vendor_bill_id
string<uuid>
required

Open vendor bill to apply the credit against (must belong to the same vendor as the credit).

amount
number
required

Amount to apply; clamped to credit's remaining_amount.

Response

Vendor credit applied successfully

data
object