Light Mode
Create Export Template
Production
POST
https://api.salla.dev/admin/v2/exports/templatesLast modified: 22 days ago
This endpoint allows you o create a custom export template for either "Orders"
or "Products"
Request
Body Params application/json
name
string
required
Template Name.
entity
enum<string>
required
Entity value, either orders
or products
.
Allowed values:
ordersproducts
columns
array[string]
required
Example
{
"name": "first product template",
"entity": "products",
"columns": [
"product_name",
"product_images",
"product_type"
]
}
Request samples
Responses
Progress In-Action(200)
Error Validation(422)
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: 22 days ago