Try the APIs
See the following for some examples of how you can explore API calls and authorisation before you start building your Zettle integration.
Prerequisites
- Understand how integrations work.
- A partner-hosted app with API credentials. If you don't have this, see create a partner-hosted app.
Test API calls
Choose one or more APIs to test some calls, see for example the Purchase API.
To get started with OAuth authorisation, explore this example project.
See the following how to include the access token generated from the OAuth flow in API calls.
In this example the access token is prefixed by
Bearer
.1GET /purchases/v2?startDate=2020-11-19 HTTP/1.12Host: purchase.izettle.com3Authorization: Bearer eyJraWQiOiIxN...R5Y6FDNTva7esJ5Q