Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    Replace a contract line item

    PUT /api/customers/{id}/contracts/{contractId}/line-items/{itemId} on the Vigilbase One API.

    PUT/api/customers/{id}/contracts/{contractId}/line-items/{itemId}

    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.

    Permissions checkedwrite:contracts

    Path Parameters

    idstringrequired
    contractIdstringrequired
    itemIdstringrequired

    Body

    application/json
    namestring
    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?