v1

latestOpenAPI 3.0.02026-07-26224386470.0 KB
EndUserCalculations

Update EndUser P&L layout

Update the profit and loss layout for the end user, which determines how the profit and loss table is calculated

put/api/end_users/{end_user_id_or_heron_id}/profit_and_loss_layout

Path parameters

end_user_id_or_heron_idstring required

Request body

category_labelsstring[] required

List of category labels to assign to a different section

section_slugstring required

Slug of section to assign labels to

Example request

{
  "category_labels": [
    "Postage"
  ],
  "section_slug": "operational_expenses"
}

Response

OK