Fixed Costs
Fixed costs are the recurring monthly expenses that eat into your margins — things like Shopify subscriptions, tracking apps, ad agency fees, and other tools. DealDome factors these into your P&L so you get an accurate picture of actual profitability, not just gross profit. On this page, we'll cover how to manage fixed costs via the API.
Fixed costs use the products:read and products:write scopes since they're part of the same cost management domain.
The fixed cost model
The fixed cost model represents a single recurring monthly expense. Each entry has a name, amount, and currency so you can track costs in both EUR and USD.
Properties
- Name
id- Type
- integer
- Description
Unique identifier for the fixed cost.
- Name
name- Type
- string
- Description
A descriptive name for the expense (e.g., "Shopify", "Ad Agency").
- Name
amount- Type
- number
- Description
The monthly cost amount.
- Name
currency- Type
- string
- Description
The currency of the amount —
EURorUSD.
- Name
created_at- Type
- timestamp
- Description
Timestamp of when the fixed cost was created.
- Name
updated_at- Type
- timestamp
- Description
Timestamp of when the fixed cost was last updated.
List all fixed costs
This endpoint returns all your fixed costs. Use it to get a full overview of your recurring monthly expenses.
Optional attributes
- Name
currency- Type
- string
- Description
Filter by currency —
EURorUSD.
Request
curl -G https://api.dealdome.eu/fixed-costs \
-H "Authorization: Bearer {token}"
Response
{
"data": [
{
"id": 1,
"name": "Shopify",
"amount": 70.00,
"currency": "EUR",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
},
{
"id": 2,
"name": "ParcelPanel",
"amount": 11.00,
"currency": "USD",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
},
{
"id": 3,
"name": "Google Workspace",
"amount": 14.00,
"currency": "EUR",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
},
{
"id": 4,
"name": "WeTracked",
"amount": 50.00,
"currency": "EUR",
"created_at": "2026-01-15T00:00:00Z",
"updated_at": "2026-01-15T00:00:00Z"
},
{
"id": 5,
"name": "Ad Agency",
"amount": 300.00,
"currency": "EUR",
"created_at": "2026-02-01T00:00:00Z",
"updated_at": "2026-02-01T00:00:00Z"
}
]
}
Create a fixed cost
This endpoint lets you add a new recurring monthly expense. Provide the name, amount, and currency.
Required attributes
- Name
name- Type
- string
- Description
A descriptive name for the expense.
- Name
amount- Type
- number
- Description
The monthly cost amount.
- Name
currency- Type
- string
- Description
The currency —
EURorUSD.
Request
curl https://api.dealdome.eu/fixed-costs \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{"name": "Shopify", "amount": 70.00, "currency": "EUR"}'
Response
{
"id": 1,
"name": "Shopify",
"amount": 70.00,
"currency": "EUR",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
Update a fixed cost
This endpoint lets you update an existing fixed cost. Useful when a subscription price changes or you need to correct an entry.
Optional attributes
- Name
name- Type
- string
- Description
The updated name.
- Name
amount- Type
- number
- Description
The updated amount.
- Name
currency- Type
- string
- Description
The updated currency —
EURorUSD.
Request
curl -X PUT https://api.dealdome.eu/fixed-costs/1 \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{"amount": 79.00}'
Response
{
"id": 1,
"name": "Shopify",
"amount": 79.00,
"currency": "EUR",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-04-13T11:00:00Z"
}
Delete a fixed cost
This endpoint permanently deletes a fixed cost entry. The deletion takes effect immediately and the cost will no longer be included in future P&L calculations.
Request
curl -X DELETE https://api.dealdome.eu/fixed-costs/5 \
-H "Authorization: Bearer {token}"