Budgets (v2)

Change a line

One of amount (your own figure in the currency on screen), reset (the figure put back) or enabled (an optional line switched off or on; the matching input switch follows).

patch/api/v2/budgets/{externalId}/lines/{key}

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v2/budgets/{externalId}/lines/{key}
  • Auth: HTTP bearer

Request body

amountstring nullable

Must not be greater than 32 characters.

resetboolean
enabledboolean

Example request

{
  "amount": "b",
  "reset": true
}

Response

external_idstring

Example response

{
  "external_id": "9c7e",
  "lines": [
    {
      "key": "tickets",
      "user_amount": {
        "amount": "900.00",
        "currency": "USD"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.