set_cockpit_target
Set the monthly sales target of one outpost (seller × marketplace) for a calendar month. Owners/admins only. vat says whether the target is VAT included (inclusa, default, same basis as the data) or excluded (esclusa: the cockpit then flags it yellow because it compares different bases). status: proposto (default) | validato | concordato; changing the numbers of a validato/concordato target without passing status puts it back to proposto. Only validato/concordato targets drive the projection light. Confirm amount, month and VAT with the user before saving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vat | No | ||
| note | No | ||
| month | Yes | YYYY-MM | |
| status | No | ||
| acos_max | No | Max ACoS % (optional). | |
| tacos_max | No | Max TACoS % (optional). | |
| confirm_id | No | Token di conferma ritornato dall'anteprima. Ripassa lo STESSO payload + confirm_id per eseguire davvero la scrittura. | |
| outpost_id | Yes | ||
| sales_target | Yes |