The Commerce REST API lets you build apps and integrations that extend and enhance the Atlassian purchasing flow.
All Commerce REST API queries require a valid access token.
Partners can generate tokens for their apps in the Partner portal.
Once you have an access token, include your token as an Authorization
header, prefixed by Bearer
, on all API queries. Requests are made via api.atlassian.com
domain as shown below:
1 2curl --request GET \ --url https://api.atlassian.com/commerce/api/v2/entitlements/{entitlementId}/details \ --header 'Authorization: Bearer ACCESS_TOKEN' \ --header 'Accept: application/json'
REST API endpoints are organized by resource type. You’ll need to use different endpoints depending on your app’s requirements.
All REST API endpoints follow this pattern:
https://api.atlassian.com/commerce/api/{version}/{resource}
The REST API supports different rate limits per endpoint. You can find the specific limits in the REST API documentation - they're highlighted in the description of each endpoint.
All API queries return HTTP status codes that can tell you more about the response.
The client doesn’t have correct authentication credentials.
The server is refusing to respond. This is typically caused by incorrect transaction account ID.
The requested resource wasn't found.
The request body contains semantic errors.
The client has exceeded the rate limit.
An internal error occurred in Commerce.
Rate this page: