Update Macro
gorgias_update_macroUpdate an existing Gorgias macro by its ID, modifying only the fields you supply. Replace the entire actions list if needed; partial updates keep other fields unchanged.
Instructions
PUT /api/macros/{id} — Partial update of a macro by ID. All body fields are optional; only the fields you supply are modified. NOTE: if you include actions, the entire actions array is replaced — you cannot append individual actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the macro to update | |
| name | No | New name for the macro. | |
| intent | No | The intended use case of the macro. | |
| actions | No | If provided, replaces the entire actions list. Each action object should have 'name', 'title', 'arguments', and optionally 'type' and 'description'. | |
| language | No | The language of the macro in ISO 639-1 format (e.g. 'en', 'fr'). | |
| external_id | No | External ID of the macro in a foreign system. Not used by Gorgias; set to any custom value. |