submit_mutation
Submit Ads, SP listing or eBay changes. Marketplace writes for a proposed change. Key grants choose review or direct execution. Schemas: describe(kind='operations'). Accepts operation/request or legacy actionType. Returns a mutation id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Action-specific; schema in describe(kind='operations'). | |
| request | No | Ads: profile_id, ad_product, entities (one canonical Amazon entity) or entity_ids. ads.rules.*: see describe(kind='operations') `rules`. eBay (ebay.ads.mutation / ebay.listings.mutation / ebay.messages.mutation): ebay_account_id, marketplace_id, items [{entityType, entityId, operation, fields}]; a buyer-message reply is one item {entityType: "conversation", entityId: <conversation_id>, operation: "reply", fields: {text}}. | |
| verbose | No | Batch: full rows. | |
| entityId | No | Amazon id; 0 when creating. | |
| metadata | No | Reviewer fields: rationale, rationale_details, contextSnapshot. | |
| operation | No | Canonical operation, e.g. ads.campaigns.update. | |
| profileId | No | Ads profile ID. | |
| rationale | No | 1-2 sentences, max 280 chars shown on the reviewer's card; longer is cut. | |
| actionType | No | See describe(kind='operations'). | |
| agent_name | No | Short name of this agent or session, shown with the change. | |
| entityType | No | Entity class. | |
| idempotencyKey | Yes | ||
| parentEntityId | No | Parent id, e.g. campaign_id. | |
| contextSnapshot | No | Numbers used. Max 32 KB. | |
| parentEntityType | No | ||
| rationaleDetails | No | Optional markdown, max 8000, only when there is more to say (evidence, tables). |