v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Budget Suggestions

Accept a budget suggestion

Marks the suggestion as accepted and links it to an existing budget. Create the budget first via POST /analytics/v1/budgets, then pass its id as budgetId. The budget must belong to your account.

post/analytics/v1/budget-suggestions/{id}/actions/accept

Path parameters

idstring required

Budget suggestion ID.

Request body

budgetIdstring required

ID of the budget (created via POST /analytics/v1/budgets) to link this suggestion to.

editedBeforeAcceptboolean

Whether the customer edited the suggested values before accepting.

Response

OK - The suggestion was accepted and linked to the budget.

budgetIdstring

ID of the budget the suggestion was linked to.