Salla Docs
Merchant API
Partner APIs
Storefront
Salla CLI
Salla Docs
    Light Mode

    List Export Templates

    GET/exports/templates
    Last modified: 2 days ago

    This endpoint allows you to retrieve a list of the current export templates of either orders or products entity.

    `exports.read_write`- Exports Read Only

    Request

    Query Params
    entity
    enum<string> 
    optional
    Allowed values:
    productsorders
    Example:
    products | customers

    Request samples

    Responses

    Success(200)
    HTTP Code: 200
    Content Type : JSONapplication/json
    Data Schema
    No schema defined
    Example
    {
      "status": 200,
      "success": true,
      "data": [
        {
          "id": 23424,
          "name": "مخصص المنتجات ١",
          "columns": [
            {
              "title": "اسم المنتج",
              "name": "name"
            },
            {
              "title": "السعر",
              "name": "price"
            },
            {
              "title": "الكمية",
              "name": "quantity"
            },
            {
              "title": "صورة المنتج",
              "name": "image"
            }
          ]
        }
      ]
    }
    Last modified: 2 days ago