Add triggers to a specific pipeline

post /text/Keywords/Optimization/Pipelines/{id}/Triggers
This API endpoint is used to add triggers to a specific pipeline identified by its ID. Triggers allow you to define specific actions or conditions for the pipeline.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Content-Type: application/json
Parameter Name Type Description
Id string, required Unique identifier for the pipeline.
Parameter Name Type Description
storeId string, required Store ID identifying the pipeline's context.
type string, required Specifies the type of pipeline, which can be either Product or Category.
recordId string, required The Object ID associated with the pipeline.
languageCode string, required Two-letter language code, e.g., en. Default is en.
triggers object, required Contains additional trigger configurations for the pipeline.
triggers.additionalProp1 object, optional Additional trigger with options, value, action, and text types.
triggers.additionalProp1.option string, optional Trigger option (e.g., None).
triggers.additionalProp1.value integer, optional Value associated with the trigger.
triggers.additionalProp1.action string, optional Trigger action (e.g., FlagForRewrite).
triggers.additionalProp1.textTypes array, optional Types of text associated with the trigger.

Request body parameters

Response

200
400
404
500
//The request was successful, and the triggers were added to the specified pipeline.
//The request failed due to invalid input or missing required parameters.
//The specified pipeline or related resource could not be found.
//The server encountered an error when processing the request.