Get started
Versioning
The major version is in the URL. Within v2 we only add things, so code you write today keeps working.
What can change within v2
| Change | Within v2? |
|---|---|
| New endpoints | Yes |
| New optional request fields and query filters | Yes |
| New fields in answers and webhook events | Yes |
New values in enums (e.g. a new order status) | Yes |
| New event types and error codes | Yes |
| Removing or renaming a field, endpoint or enum value | No |
| Changing a field's type or meaning | No |
| Making an optional request field required | No |
Write code that keeps working
- Ignore fields you don't know, in answers and in webhook events.
- Handle enum values you don't know, e.g. treat an unknown
statusas still in progress. - Don't make your parser fail on extra fields.
- Handle unknown error codes by their
type.
Changelog
Every addition to v2 will be listed with its date in a changelog on this site. A new major version comes with a migration guide like Moving from v1.
How long v1 stays
v1 is deprecated. It keeps working until March 31, 2027, then v1 calls stop working. Until then v1 gets fixes but no new features: new features come to v2 only.
