{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"71da0d2f-cf6c-487f-bce6-d87731063b3b","name":"Chronogolf Partner API v2","description":"The Chronogolf Partner's API is organized around **REST** and is designed to have predictable, resource-oriented URLs and to use HTTP response codes to indicate API errors.\n**JSON** is returned by all API responses, including errors.\n\n# Changelog\n## 2019-10-28\n* Changed routes for the V2 API\nNew routes as follows:\n|Verb  |Route                                                                \n|------|--------------------------------------------------------------------|\n|GET   |/partner_api/v2/organizations/:organization_id/courses              |\n|GET   |/partner_api/v2/courses/:id                                         |\n|POST  |/partner_api/v2/organizations/:organization_id/customers            |\n|GET   |/partner_api/v2/organizations/:organization_id/customers            |\n|GET   |/partner_api/v2/customers/:id                                       |\n|PATCH |/partner_api/v2/customers/:id                                       |\n|PUT   |/partner_api/v2/customers/:id                                       |\n|POST  |/partner_api/v2/organizations/:organization_id/payment_confirmations|\n|GET   |/partner_api/v2/payment_confirmations/:id                           |\n|GET   |/partner_api/v2/organizations/:organization_id/player_types         |\n|GET   |/partner_api/v2/player_types/:id                                    |\n|POST  |/partner_api/v2/organizations/:organization_id/reservation_requests |\n|GET   |/partner_api/v2/reservation_requests/:id                            |\n|POST  |/partner_api/v2/organizations/:organization_id/reservations         |\n|DELETE|/partner_api/v2/reservations/:id                                    |\n|GET   |/partner_api/v2/organizations/:organization_id/reservations         |\n|GET   |/partner_api/v2/reservations/:id                                    |\n|PATCH |/partner_api/v2/reservations/:id                                    |\n|PUT   |/partner_api/v2/reservations/:id                                    |\n|POST  |/partner_api/v2/organizations/:organization_id/round_requests       |\n|DELETE|/partner_api/v2/round_requests/:id                                  |\n|GET   |/partner_api/v2/round_requests/:id                                  |\n|GET   |/partner_api/v2/organizations/:organization_id/teetimes             |\n|GET   |/partner_api/v2/teetimes/:id                                        |\n|GET   |/partner_api/v2/organizations                                       |\n|GET   |/partner_api/v2/organizations/:id                                   |\n_____________________________________________________________________________\n\n## 2019-07-30\n\n* Added `updated_since` field for customer endpoint\n[→](#6542f9d0-4b33-45eb-9fb2-a78a93083c92)\n* Added `archived` field for customer endpoint\n[→](#6542f9d0-4b33-45eb-9fb2-a78a93083c92)\n\n## 2019-07-16\n\n* Added ability to search for reservations for a given date and course  [→](#798cf229-60e5-4fb3-9d57-16a8d90f45b2)\n\n## 2019-06-11\n\n* Added new pricing information useful for clubs with mandatory cart  [→](#af034d07-783e-43aa-a538-940daf6e702a)\n\n## 2019-05-10\n\n* Ability to 'reset' customer affiliation type to club's default affiliation type or simply update to a different affiliation type\n\n## 2019-02-04\n\n* Ability to create customer for a given club\n[→](#ea609cdb-7ab2-4ad4-83e0-fd088764f7c4)\n* Ability to update customer for a given club\n[→](#47e78e23-8054-44c0-a544-b983fb50dcc2)\n\n## 2018-10-16\n\n* Ability to reference a tour operator when creating a booking [→](#2d8ec842-745a-4d54-b6e9-a442ea422952)\n\n## 2018-08-29\n\n* Ability to override the cart fees when creating reservations [→](#fd294262-8e53-f2a4-bec6-5292739a5179)\n\n## 2018-07-18\n\n* Ability to search customers across your authorized clubs [→](#ab7c63b4-a30f-4886-b2e2-2dd076a98c17)\n* Ability to list the affiliation types of a customer at a club [→](#02558b23-a3cb-420a-9e90-4cd7b3562fac)\n\n## 2018-05-07\n\n* Start times are now in the format `HH:mm` (e.g. \"12:18\"), instead of `HH:mm:ss`\n\n## 2018-03-05\n\n* Pull reservations updated since a timestamp [→](#858c00f3-0fd0-43b6-a67f-20357b161a02)\n\n## 2018-02-19\n\n* Ability to override the green fees when creating reservations [→](#fd294262-8e53-f2a4-bec6-5292739a5179)\n* Mark rounds of reservations as paid [→](#fd294262-8e53-f2a4-bec6-5292739a5179)\n\n# Errors\n\nChronogolf uses conventional HTTP response codes to indicate success or failure of an API request. In general, codes in the `2xx` range indicate success, codes in the `4xx` range indicate an error that resulted from the provided information (e.g. a required parameter was missing, etc.), and codes in the `5xx` range indicate an error with the servers.\n\n### HTTP Status Code Summary\n\nCode | Summary\n--- | ---\n2XX (OK) | Everything worked as expected.\n400 (Bad Request) | Often missing a required parameter.\n401 (Unauthorized) | No valid API key provided.\n404 (Not Found) | The requested item doesn't exist.\n422 (Unprocessable Entity) | A validation error occurred.\n429 (Too Many Requests) | Too many requests hit the API too quickly.\n5XX (Server Errors) | Something went wrong on the server.\n\n# Pagination\n\nLarge lists may require additional requests to retrieve. If a list response has been paginated, it will be indicated under the `meta` field of the response.\n\nIn order to request subsequent pages, pass the page number param in the url. example: `/customers?page[number]=2`\n\n# Rate Limiting\n\nYou can make up to 200 requests per minute.\n\n\n# Versioning\n\nWhen we make backwards-incompatible changes to the API, we release new numbered versions.\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"10516863","team":749020,"collectionId":"71da0d2f-cf6c-487f-bce6-d87731063b3b","publishedId":"T17FB8PC","public":true,"publicUrl":"https://documenter-api.postman.tech/view/10516863/T17FB8PC","privateUrl":"https://go.postman.co/documentation/10516863-71da0d2f-cf6c-487f-bce6-d87731063b3b","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2020-07-02T18:01:51.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"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/7962cbfc77915a315bc3f6147e8fc4db436ccb8ada63646a5737e7c707175181","favicon":""},"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"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/T17FB8PC"}