{
  "opencollection": "1.0.0",
  "info": {
    "name": "Viagogo Shipments API",
    "version": "2.249.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Shipments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a shipping label for a seller listing",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId/shipments/:shipmentId/label",
            "params": [
              {
                "name": "listingId",
                "value": "",
                "type": "path"
              },
              {
                "name": "shipmentId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get a shipping label for a seller listing"
        },
        {
          "info": {
            "name": "List shipments for a seller listing",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId/shipments",
            "params": [
              {
                "name": "listingId",
                "value": "",
                "type": "path"
              },
              {
                "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."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List shipments for a seller listing"
        },
        {
          "info": {
            "name": "Print a shipping label for a seller listing",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId/shipments",
            "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": "Print a shipping label for a seller listing"
        },
        {
          "info": {
            "name": "Update a shipment for a seller listing",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.viagogo.net/v2/sellerlistings/:listingId/shipments/:shipmentId",
            "params": [
              {
                "name": "listingId",
                "value": "",
                "type": "path"
              },
              {
                "name": "shipmentId",
                "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 shipment for a seller listing"
        },
        {
          "info": {
            "name": "Get shipping label for a sale",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sales/:saleId/shipments/:shipmentId/label",
            "params": [
              {
                "name": "saleId",
                "value": "",
                "type": "path"
              },
              {
                "name": "shipmentId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get shipping label for a sale"
        },
        {
          "info": {
            "name": "List shipments for a sale",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.viagogo.net/v2/sales/:saleId/shipments",
            "params": [
              {
                "name": "saleId",
                "value": "",
                "type": "path"
              },
              {
                "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."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List shipments for a sale"
        },
        {
          "info": {
            "name": "Print a shipping label for a sale",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.viagogo.net/v2/sales/:saleId/shipments",
            "params": [
              {
                "name": "saleId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://account.viagogo.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Print a shipping label for a sale"
        },
        {
          "info": {
            "name": "Update a shipment for a sale",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.viagogo.net/v2/sales/:saleId/shipments/:shipmentId",
            "params": [
              {
                "name": "saleId",
                "value": "",
                "type": "path"
              },
              {
                "name": "shipmentId",
                "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 shipment for a sale"
        }
      ]
    }
  ],
  "bundled": true
}