User authentication
Native apps can help you show store data, like orders or products. To do that, your application will need to know:
- Store ID of a merchant
- Access token for the Ecwid REST API
- Language of the Ecwid Control Panel
- Application state to initialize the app with (optional)
Ecwid will pass this data to your application as soon as it is opened in Ecwid Control panel. See the available user authentication methods for native applications below.
App authentication
After your app authorized a merchant, it will need an access token for the Ecwid REST API to read and modify Ecwid store orders, products and other information.
The process of getting an access token is different for each user authentication type. Both authentication types are described below, so please check them out for more info on getting access tokens.