Add keyword for optimization pipelines

put /text/Keywords/Optimization/Keywords
This endpoint adds a keyword so that it can be used in a pipeline.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Content-Type: application/json
Parameter Name Type Description
storeId string, required The store identifier. Defaults to "default" if not provided.
type string, required Specifies the type of entity, which can be either  Product or Category.
recordId string, required The ID of the record for which the keyword is updated.
languageCode string The language code.
keyword string, required The keyword to be updated with optimization data.

Example API Request

//https://api-eu.writetext.ai/text/Keywords/Optimization/Keywords

Response

200
400
404
500
//The request was successful, and the keyword optimization data was updated.
//This error occurs when the request is improperly formatted or lacks required parameters.
//This error occurs if the provided recordId, storeId, or keyword does not exist or cannot be found.
//The server encountered an error when processing the request.