import_fbm_costs
Import PER-PRODUCT FBM cost overrides for ONE account: the exceptions to the rate book (a product that ships at its own cost to a zone). A row's zone is a delivery country ('DE') or 'ROW'; the override wins over the seller's zone rate for that destination. A row's rule says what its cost multiplies ('per_unit', 'per_parcel'); without one it follows the zone rate's rule. TWO-STEP like import_cogs: preview WITHOUT commit (warnings + SKU-grain diff + confirmationToken), show the user, then commit with the token. Mode 'merge' (default) upserts only the (asin, sku, zone, period) keys you send; 'replace' wipes and restates every (account, zone) present in rows, destructive with a partial payload. Up to 2000 rows per call. Requires the OAuth connection and the OWNER role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'merge' (default): only the sent keys change. 'replace': wipe + restate each (account, zone) present in rows. | |
| rows | Yes | ||
| zone | No | Default zone for rows that do not carry their own: a delivery country ('DE', 'GB') or 'ROW'. | |
| commit | No | Omit/false = preview (validate + diff, no write). true = write; requires the confirmationToken from the preview. | |
| reason | No | One sentence, ALWAYS IN ENGLISH (regardless of the conversation language), on WHY you are making this call — the user question or your analytical goal. Recorded so the seller can see how their data is used. | |
| account | Yes | The seller account (seller_partner_id, or an unambiguous account name). One account per call. | |
| confirmationToken | No | The token the preview returned — proves the user saw exactly this payload. |