# Update a zapiertrigger by ID Updates an existing zapiertrigger record. Endpoint: PUT /v1/api/zapier-triggers/{id} Version: 1.2.4 Security: X-Api-Key ## Path parameters: - `id` (string, required) ZapierTriggers ID ## Request fields (application/json): - `triggerType` (string) Type of the Zapier trigger. Example: "new_order" - `triggerId` (string) Trigger ID from Zapier. Example: "trigger_123456" - `apiKey` (string) API key for the Zapier integration. Example: "zap_api_key_123" - `triggerUrl` (string) Webhook URL for the trigger. Example: "https://hooks.zapier.com/hooks/catch/123456/abcdef" - `customTriggerName` (string) Custom name for the trigger. Example: "My Order Trigger" ## Response 200 fields (application/json): - `id` (string) Unique identifier for the ZapierTriggers. Example: "o1p2q3r4s5t6u7v8w9x0y1z2" - `createdAt` (string) Timestamp when the ZapierTriggers was created. Example: "2025-12-07T19:31:48.436+00:00" - `updatedAt` (string) Timestamp when the ZapierTriggers was last updated. Example: "2025-12-07T19:35:48.436+00:00" - `companyId` (string) Company ID associated with the ZapierTriggers. Example: "o1p2q3r4s5t6u7v8w9x0y1z2" - `triggerType` (string) Type of the Zapier trigger. Example: "new_order" - `triggerId` (string) Trigger ID from Zapier. Example: "trigger_123456" - `apiKey` (string) API key for the Zapier integration. Example: "zap_api_key_123" - `triggerUrl` (string) Webhook URL for the trigger. Example: "https://hooks.zapier.com/hooks/catch/123456/abcdef" - `customTriggerName` (string) Custom name for the trigger. Example: "My Order Trigger" ## Response 400 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 400 - `message` (string, required) Error message describing what went wrong Example: "Validation failed: Field `schemaField` is required." - `error` (string, required) Error type/name Enum: "Bad Request", "Unauthorized", "Forbidden", "Not Found", "Conflict", "Unprocessable Entity", "Internal Server Error" ## Response 404 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 404 - `message` (string, required) Error message describing what went wrong Example: "The resource was not found." - `error` (string, required) Error type/name Enum: "Bad Request", "Unauthorized", "Forbidden", "Not Found", "Conflict", "Unprocessable Entity", "Internal Server Error"