v1

latestOpenAPI 3.0.02026-07-2671142187.3 KB
Add-Ons

Patch add-ons

Partially update one or more existing add-ons.

patch/add-ons

Headers

api-tokenstring required

Your API access token for authentication and access to the Helcim API

Request body

Example request

{
  "addOns": [
    {
      "id": 123456,
      "name": "My updated add-on",
      "description": "Editable and with a new billing amount",
      "amount": 10.5,
      "isQuantityEditable": "true"
    }
  ]
}

Response

Successful add-on patch. The response body contains the data representation of all updated add-ons.

Example response

{
  "data": [
    {
      "id": 123456,
      "dateCreated": "2024-01-01 12:30:45",
      "dateUpdated": "1970-01-01 00:00:00",
      "name": "My updated add-on",
      "description": "Editable and with a new billing amount",
      "amount": 10.5,
      "frequency": "recurring",
      "isQuantityEditable": "true"
    }
  ]
}