{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sitecore CDP REST Audit Promotions API",
    "version": "v2.1"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Promotions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List promotions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-engage-eu.sitecorecloud.io/promotions",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Full-text search term to filter results"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of items to return per page (max 100)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number to retrieve (1-indexed)"
              }
            ]
          },
          "docs": "Retrieves a paginated list of promotions. Promotions define discount rules, coupon codes, eligibility requirements, and usage limits."
        },
        {
          "info": {
            "name": "Create a promotion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-engage-eu.sitecorecloud.io/promotions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new promotion with discount rules, an optional coupon code, eligibility criteria, and usage limits. Promotions can be applied to orders at checkout."
        }
      ]
    }
  ],
  "bundled": true
}