Light Mode
Update Export Template
PUT
/exports/templates/{id}Last modified: 3 hours ago
This endpoint allows you to update the details of a custom export template by passing the template_id
as a path parameter.
Request
Path Params
id
string
required
Body Params application/json
name
string
required
Template Name.
columns
array[string]
required
Example
{
"name": "مخصص المنتجات ١",
"columns": [
{
"name": "name"
},
{
"name": "price"
}
]
}
Request samples
Responses
Progress In-Action(200)
Progress In-Action
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
number
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
success
boolean
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
object
optional
message
string
optional
A text or data communication generated by a system or application in response to a request.
Example
{
"status": 200,
"success": true,
"data": {
"message": "تم حفظ القالب بنجاح"
}
}
Last modified: 3 hours ago