{ "opencollection": "1.0.0", "info": { "name": "StubHub Account Addressess Shipments API", "version": "v2" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "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.stubhub.net/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.stubhub.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.stubhub.net/sellerlistings/:listingId/shipments", "params": [ { "name": "listingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.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.stubhub.net/sellerlistings/:listingId/shipments", "params": [ { "name": "listingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.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.stubhub.net/sellerlistings/:listingId/shipments/:shipmentId", "params": [ { "name": "listingId", "value": "", "type": "path" }, { "name": "shipmentId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.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.stubhub.net/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.stubhub.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.stubhub.net/sales/:saleId/shipments", "params": [ { "name": "saleId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.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.stubhub.net/sales/:saleId/shipments", "params": [ { "name": "saleId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.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.stubhub.net/sales/:saleId/shipments/:shipmentId", "params": [ { "name": "saleId", "value": "", "type": "path" }, { "name": "shipmentId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://account.stubhub.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a shipment for a sale" } ] } ], "bundled": true }