{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"37c748d4-3cd6-4234-ade5-2e488bf94029","name":"2degrees NZ Wholesale APIs","description":"This collection is intended get you started with consuming the 2degrees API suite.\n\nWe will run through some basic examples of ordering internet, voice and mobile services for your customers.\n\nWe'll also be covering Customer management, Order management, and the management of provisioned services.\n\n# Onboarding\n\nYour Account Manager will have already taken you through the onboarding process.\n\nYou will have been provided with a new `BusinessGroup` that has been configured with your specific needs.\n\nYour Products will have been set up and you will have been provided API Keys for our Sandbox environment, [<i>https://sandbox-3-api.2degrees.nz/</i>](https://sandbox-3-api.2degrees.nz/), and possibly even our Production environment, [<i>https://api.2degrees.nz/</i>](https://api.2degrees.nz/).\n\nOptionally you may have also been configured for callbacks.\n\n# Authentication\n\nOur APIs are authenticated with an API Key.\n\nThe API Key is treated as a bearer token and added to the Authorization header of any HTTP request.\n\n``` javascript\nheaders: {\n  'Authorization': `Bearer ${apikey}`\n}\n\n ```\n\n_Note that the mock collection does not require authentication._","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"13278654","collectionId":"37c748d4-3cd6-4234-ade5-2e488bf94029","publishedId":"UVypyGq9","public":true,"publicUrl":"https://apidocs.2degrees.nz","privateUrl":"https://go.postman.co/documentation/13278654-37c748d4-3cd6-4234-ade5-2e488bf94029","customColor":{"top-bar":"3A6593","right-sidebar":"2a2f48","highlight":"FF9C00"},"documentationLayout":"classic-single-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"3A6593","right-sidebar":"2a2f48","highlight":"FF9C00"}}]}},"version":"8.10.1","publishDate":"2023-04-28T02:32:08.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"mock","id":"a91b7989-4636-46da-a7a8-27351dfca8cb","owner":"13278654","values":[{"key":"url","value":"https://c6169e7f-c2a4-4e50-991b-c179bfe37818.mock.pstmn.io","enabled":true,"type":"text"},{"key":"businessGroup","value":"2degreesDemo","enabled":true,"type":"default"},{"key":"salesChannel","value":"OnlineSignup","enabled":true,"type":"default"},{"key":"salesPerson","value":"OnlineSignup","enabled":true,"type":"default"},{"key":"addressString","value":"136 Fanshawe Street","enabled":true,"type":"default"},{"key":"locationId","value":"e9e66339-0c35-4231-b7f4-f5fda98a7df4","enabled":true,"type":"default"},{"key":"orderToken","value":"bd91559a-c2ff-490d-9b42-26b5100c43b2","enabled":true,"type":"default"},{"key":"reservedMobileServiceEntity","value":"0266660001","enabled":true,"type":"default"},{"key":"existingMobileServiceEntity","value":"0266660001","enabled":true,"type":"default"},{"key":"orderExternalReference","value":"Test01","enabled":true,"type":"default"},{"key":"mobileNumberToPort","value":"0266660009","enabled":true,"type":"default"},{"key":"mobileRatePlan","value":"2degreesDemo_Mobile2_3Mbps_U","enabled":true,"type":"default"},{"key":"externalReferenceType","value":"2degreesDemoAccountNumber","enabled":true,"type":"default"},{"key":"externalReferenceValue","value":"12345678","enabled":true,"type":"default"},{"key":"requestedDateOfProvisioning","value":"","enabled":true,"type":"default"},{"key":"hardwareKeySim","value":"2degrees_SIM","enabled":true,"type":"default"},{"key":"existingSimSerial","value":"896499000000000001","enabled":true,"type":"default"},{"key":"accountName","value":"Jane Doe","enabled":true,"type":"default"},{"key":"firstName","value":"Jane","enabled":true,"type":"default"},{"key":"lastName","value":"Doe","enabled":true,"type":"default"},{"key":"email","value":"janedoe@doe.nz","enabled":true,"type":"default"},{"key":"contactNumber","value":"026666000","enabled":true,"type":"default"},{"key":"deliveryAddressCareOf","value":"2degrees","enabled":true,"type":"default"},{"key":"mobileLosingServiceProviderKey","value":"Skinny Mobile","enabled":true,"type":"default"},{"key":"mobileLosingServiceProviderAccountName","value":"Jane Doe","enabled":true,"type":"default"},{"key":"mobileLosingServiceProviderAccountNumber","value":"123456","enabled":true,"type":"default"},{"key":"mobileLosingServiceProviderSimSerial","value":"123456789012","enabled":true,"type":"default"},{"key":"handoverId","value":"248","enabled":true,"type":"default"},{"key":"networkMetricsDateFrom","value":"2024-11-18 15:00:00","enabled":true,"type":"default"},{"key":"networkMetricsDateTo","value":"2024-11-18 15:10:00","enabled":true,"type":"default"},{"key":"source","value":"dndn-amp1","enabled":true,"type":"default"},{"key":"destination","value":"akmdr-amp1","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/2f397836fda78ed49b45bcd1e4341ba380834428bad809f9cd71825d35ccb707","favicon":"https://res.cloudinary.com/postman/image/upload/v1714607057/team/rekmqqbpy0fkfnk7xnzt.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"mock","value":"13278654-a91b7989-4636-46da-a7a8-27351dfca8cb"}],"canonicalUrl":"https://apidocs.2degrees.nz/view/metadata/UVypyGq9"}