{
  "opencollection": "1.0.0",
  "info": {
    "name": "viagogo Inventory Seller Listings API",
    "version": "2.249.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "SellerListings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a seller listing",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId",
            "params": [
              {
                "name": "listingId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get a seller listing"
        },
        {
          "info": {
            "name": "Update a seller listing",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId",
            "params": [
              {
                "name": "listingId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update a seller listing"
        },
        {
          "info": {
            "name": "Delete a seller listing",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId",
            "params": [
              {
                "name": "listingId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a seller listing"
        },
        {
          "info": {
            "name": "List seller listings (recent updates)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sellerlistings/recentupdates",
            "params": [
              {
                "name": "updated_since",
                "value": "",
                "type": "query",
                "description": "Filters the response to only return items that have been updated since the given timestamp"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List seller listings for the authenticated user that have been created or updated over a certain period of time."
        },
        {
          "info": {
            "name": "List seller listings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sellerlistings",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "requested_event_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Specifies which page of data to retrieve."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Set custom page sizes on response."
              },
              {
                "name": "updated_since",
                "value": "",
                "type": "query",
                "description": "Filters the response to only return items that have been updated since the given timestamp"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Determines the ordering of items. A comma-separated string containing `available_tickets`, `created_at`, `event_date`, `event_name`, `expiration_date`, `price`, `resource_version`, or`ticket_availability_date`."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List seller listings for the authenticated user."
        },
        {
          "info": {
            "name": "Create a seller listing for a requested event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.viagogo.net/v2/sellerlistings",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a seller listing for an event requested by the current user."
        },
        {
          "info": {
            "name": "Create a seller listing",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.viagogo.net/v2/events/:eventId/sellerlistings",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a seller listing"
        }
      ]
    }
  ],
  "bundled": true
}