{
  "opencollection": "1.0.0",
  "info": {
    "name": "TicketSpice API (Webconnex v2 Public) Coupons API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apiKey",
      "value": "{{apiKey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Coupons",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List global coupons",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.webconnex.com/v2/public/coupons/global",
            "params": [
              {
                "name": "product",
                "value": "",
                "type": "query",
                "description": "Webconnex product to scope the request to. Use ticketspice for TicketSpice."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Page size. Default 50."
              },
              {
                "name": "startingAfter",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination - the id to start after."
              }
            ]
          },
          "docs": "List global coupons"
        },
        {
          "info": {
            "name": "List form coupons",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.webconnex.com/v2/public/coupons/form/:formID",
            "params": [
              {
                "name": "formID",
                "value": "",
                "type": "path"
              },
              {
                "name": "product",
                "value": "",
                "type": "query",
                "description": "Webconnex product to scope the request to. Use ticketspice for TicketSpice."
              }
            ]
          },
          "docs": "List form coupons"
        },
        {
          "info": {
            "name": "Create coupon",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.webconnex.com/v2/public/coupons",
            "params": [
              {
                "name": "product",
                "value": "",
                "type": "query",
                "description": "Webconnex product to scope the request to. Use ticketspice for TicketSpice."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create coupon"
        },
        {
          "info": {
            "name": "View coupon",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.webconnex.com/v2/public/coupons/:couponID",
            "params": [
              {
                "name": "couponID",
                "value": "",
                "type": "path"
              },
              {
                "name": "product",
                "value": "",
                "type": "query",
                "description": "Webconnex product to scope the request to. Use ticketspice for TicketSpice."
              }
            ]
          },
          "docs": "View coupon"
        },
        {
          "info": {
            "name": "Update coupon",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.webconnex.com/v2/public/coupons/:couponID",
            "params": [
              {
                "name": "couponID",
                "value": "",
                "type": "path"
              },
              {
                "name": "product",
                "value": "",
                "type": "query",
                "description": "Webconnex product to scope the request to. Use ticketspice for TicketSpice."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update coupon"
        },
        {
          "info": {
            "name": "Delete coupon",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.webconnex.com/v2/public/coupons/:couponID",
            "params": [
              {
                "name": "couponID",
                "value": "",
                "type": "path"
              },
              {
                "name": "product",
                "value": "",
                "type": "query",
                "description": "Webconnex product to scope the request to. Use ticketspice for TicketSpice."
              }
            ]
          },
          "docs": "Delete coupon"
        }
      ]
    }
  ],
  "bundled": true
}