Vigilbase One APICustomers
Replace a contract line item
PUT /api/customers/{id}/contracts/{contractId}/line-items/{itemId} on the Vigilbase One API.
Authorizations
Send one of these:
AuthorizationstringAccess tokenheaderrequired
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login.
AuthorizationstringAPI keyheaderrequired
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Needs a key with write access: read-only keys get 403 with the code read_only_key. See organisation API keys.
Path Parameters
idstringrequired
contractIdstringrequired
itemIdstringrequired
Body
application/jsonnamestring
min length 1
descriptionstring | null
quantityinteger
maximum 9007199254740991
unit_pricenumber
minimum 0
cost_pricenumber | null
stripe_subscription_item_idstring | null
stripe_price_idstring | null
stripe_product_idstring | null
service_idany
quantity_limitany
quantity_unitstring | null
bandwidth_limit_tbany
requests_limit_millionsany
is_activeboolean
included_quantityany
overage_ratenumber | null
metadataobject
Response
Success
Was this page helpful?