Commerce API
Authentication
Each request to the Commerce API requires the consumer to include an Authorization header containing an access token.
This access token provides access in the context of a user.
Commerce user authentication
An access token can be retrieved for your Commerce user using the Resource Owner Password Flow. Users are required to provide credentials in exchange for an access token.
This flow can be executed by calling the /auth endpoint.
You'll receive a Bearer access_token which can be used for all other Commerce API endpoints.
The access_token should be included in the Authorization header as follows:
Code
Expiration
The access_token expires, indicated by the expires_in property in the response.
Last modified on