The GlobalBlue APIs (GB API from now on) they have been designed in an easy and intuitive way.
However, is useful to read the below paragraphs before start using them.
Example of an API request:
URI Format: HTTP GET http://developer.globalblue.com/:resource/:method?format=:format&apikey=:yourkey
When an error is encountered, you’ll receive an appropriate HTTP response code (for example 404 for "File Not Found".) You’ll also get details returned to you in the body of the response.
|200 (OK)||Request was successful.|
|400 (Bad Request)||Invalid format for your request. Make sure you're passing in the correct parameters.|
|401 (Unauthorized)||Not authorized to make this request. Check the API documentation to be sure that you have access to the API or portion of the API you're making a request to.|
|404 (Not Found)||The requested resource could not be found. Check spelling and review feed docs.|
|500 (Internal Server Error)||Server side error processing request. Please try again later.|
|504 (Gateway Timeout)||Server timed out trying to fulfill your request. Please try again later.|
GB API organizes consumers of its API into 3 categories:
All consumers of the GB API are required to provide attribution according to the GB Branding Policy.
We have finally covered the basics, it's time to start enjoy our APIs.