Profile spendings
items_post_account_spendingsRetrieve a spending report for your Avito account by category (all, promotion, presence, commission, rest) over a date range, grouped by day, week, or month. Read-only, shows already incurred costs.
Instructions
Returns a REPORT of the profile's spendings over a period by Avito spending category: all, promotion, presence, commission, or rest. Read-only, spends no money (only shows already incurred spending). Period dateFrom..dateTo (YYYY-MM-DD). Note: grouping here is a STRING "day"|"week"|"month" (NOT an object, unlike items_post_item_analytics). Data depth no more than 270 days, no more than 1 request per minute. Required: dateFrom, dateTo, spendingTypes, grouping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | Yes | End of the period, inclusive (YYYY-MM-DD). | |
| filter | No | Optional selection filters: categoryIDs — category IDs, itemIDs — listing IDs, locationIDs — location IDs. employeeIDs is NOT supported here. Without the filter — spendings of the entire profile. | |
| user_id | No | ID of the owner user. Defaults to Profile_id from .env. | |
| dateFrom | Yes | Start of the period, inclusive (YYYY-MM-DD); no more than 270 days back. | |
| grouping | Yes | Group spendings by period — a string (required): day (by day), week (by week), month (by month). | |
| spendingTypes | Yes | Spending categories from the Avito contract (at least 1): all, promotion, presence, commission, rest. |