For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create or replace a monthly store budget

Create or replace the budget for a store for one month, including the daily distribution. The monthly amount is authoritative: when days are provided, their amounts must sum to salesAmountExVat. Omitting days clears any existing daily distribution for the month. Amounts are sales excluding VAT, in minor units (øre).

Required permissions: REPORTING

put
/tenants/{tenantUid}/stores/{storeUid}/budgets/{budgetYear}/{budgetMonth}
Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
budgetYearinteger · min: 2000 · max: 2100Required

The year the budget applies to.

budgetMonthinteger · min: 1 · max: 12Required

The month the budget applies to, 1-12.

Body
salesAmountExVatintegerRequired

Budgeted sales excluding VAT for the month, in minor units (øre).

revenueAmountExVatintegerOptional

Optional budgeted profit (revenue) excluding VAT for the month, in minor units (øre).

Responses
200

Store budget for a month

application/json
monthinteger · min: 1 · max: 12Required
salesAmountExVatintegerRequired

Budgeted sales excluding VAT for the month, in minor units (øre).

revenueAmountExVatintegerOptional

Budgeted profit (revenue) excluding VAT for the month, in minor units (øre).

put/tenants/{tenantUid}/stores/{storeUid}/budgets/{budgetYear}/{budgetMonth}
PUT /v2/tenants/{tenantUid}/stores/{storeUid}/budgets/{budgetYear}/{budgetMonth} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 97

{
  "salesAmountExVat": 1,
  "revenueAmountExVat": 1,
  "days": [
    {
      "date": "2026-01-01",
      "salesAmountExVat": 1
    }
  ]
}
200

Store budget for a month

{
  "month": 1,
  "salesAmountExVat": 1,
  "revenueAmountExVat": 1,
  "days": [
    {
      "date": "2026-01-01",
      "salesAmountExVat": 1
    }
  ]
}

Last updated

Was this helpful?