Update CSV Template
PUT/api/csv-templates/:csv_template
Updates an existing CSV template.
Authentication: Requires Bearer token
Request body:
- name (string, required, max:255): Template name. Must be unique per model type (ignoring the current template).
- model (string, required): The entity type. Valid values: 'product', 'sales_order', 'product_brand', 'supplier'
- columns (array, required, min:1): Updated array of column mappings
Request
Responses
- 200
Successful response