- Getting started
- CREDIT ENDPOINTS
- GENERATE ENDPOINTS
- GETText generation rules and limits
- GETAvailable text generation tones
- GETText generation styles
- GETTarget audiences for text generation
- GETAvailable text types for generation
- GETText generation history
- GETStatus of generated texts
- GETGenerated text for multiple records
- GETActive generation requests
- GETDetails of a specific generation request
- POSTText generation
- POSTCancel a bulk generation request
- POSTUpdate generated text fields
- IMAGE ENDPOINTS
- KEYWORDS ENDPOINTS
- GETKeyword optimization data
- POSTOptimize keywords for text
- DELETEKeyword optimization
- PUTKeyword optimization
- GETKeyword optimization list
- PUTKeyword optimization data
- DELETERanking keywords
- PUTKeyword optimization pipelines
- GETKeyword state
- POSTKeyword pipeline
- DELETEKeyword pipeline
- POSTRestore keyword pipeline
- POSTAdd triggers to keyword pipeline
- POSTAdd triggers to a specific keyword pipeline
- POSTLock a specific keyword pipeline
- POSTUnlock a specific keyword pipeline
- GETPipeline snapshots
- PUTUpdate or create a snapshot
- POSTAdd manual keywords
- GETManual keywords
- REVIEW ENDPOINTS
- SUGGESTION ENDPOINTS
Update generated text fields
post
/text/Generate/text
This method updates field values for a record. It allows users to edit existing generated texts, mark them as published or reviewed, and submit them back to the system.
Requirements
Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameter Name | Type | Description |
---|---|---|
type | string, required | The type of content being updated. Possible values: Product, Category. |
storeId | string, required | Identifier for the specific store where the content belongs. |
language | string, required | Language code (e.g., de for German). |
recordId | string, required | A unique identifier for the record or product in the user's system. |
ipAddress | string, required | IP address of the client/browser if you wish to record it. |
fields | array of objects, required | An array of field objects to be updated:
|
Example API Request
//https://api-eu.writetext.ai/text/generate/text
Response
200
400
404
500
//The text field has been successfully updated.
//If the request is invalid or contains incorrect parameters
//If the specified record or text ID cannot be found.
//The server encountered an error when processing the request.