Perform incremental operations on merchant action triggers at the program scope.
See the account-scope PATCH endpoint for full documentation on supported operations (add, remove).
Documentation Index
Fetch the complete documentation index at: https://docs.spade.com/llms.txt
Use this file to discover all available pages before exploring further.
Your unique identifier for the program
512Request body for incremental merchant action trigger operations.
add: merchantTriggers is required. triggerIds is optional and ignored if provided.remove: triggerIds is required and must be a non-empty list.The operation to perform:
add: Register new merchants or update existing ones via merchant matchingremove: Remove merchants (excluded from enrichment lookups)add, remove List of merchant triggers to add. Required for the add operation.
If a trigger ID already exists, the old registration is replaced (upsert behavior).
Field requirements:
id, merchantName, and action are always requiredwebsite is required1 - 100000 elementsList of trigger IDs to remove. Required and must be non-empty for the remove operation.
Trigger IDs that are not currently active are silently ignored (idempotent).
For add operations, this field is optional and ignored if provided — you may pass null, [], or omit it entirely.
512["merchant_123", "merchant_456"]