Get Started
Salla Merchant APIs are a suite of RESTful endpoints, purpose-built for secure, fast, and easy access to Merchant data. Developers can build their Apps by consuming Sallaβs standard APIs, scale their Apps to encompass a mass base of over 60,000 online stores, and publish their innovations to one central hub, the Salla App Store. Learn more about creating your first Salla App by following this article.
:::tip[Base URI]
All API URLs referenced in the documentation have the following base: https://api.salla.dev/admin/v2
:::
List of Salla's Merchant APIs
These endpoints include a suite range of APIs for:
</CardGroup>
<Card title="Exports" href="https://docs.salla.dev/api-5607986" Icon icon="material-outline-file_download">
Export data related to products, orders, and other entities.
</Card>
<Card title="Loyalty Points" href="https://docs.salla.dev/api-12250577" Icon icon="material-outline-timeline">
Organize customers into groups for targeted actions.
</Card>
</CardGroup>
</CardGroup>
<Card title="Reviews" href="https://docs.salla.dev/api-5394279" Icon icon="material-outline-star">
Manage product and service reviews.
</Card>
<Card title="Webhooks" href="https://docs.salla.dev/api-5394135" Icon icon="material-outline-notifications_active">
Configure webhooks for event notifications.
</Card>
<Card title="Custom URLs" href="https://docs.salla.dev/api-10393771" Icon icon="material-outline-dashboard_customize">
Configure webhooks for event notifications.
</Card>
</CardGroup>
β Requirements
In order to make developers' interactions with Salla APIs easier, and for a more seamless, professional experience, the bare minimum requirements are as follows:
Basic understanding of programming, API consumption, webhooks calling, and JSON schema. |
Authentication & Authorization using the OAuth2.0 security protocol. |
Verified Salla Partners account. |
π» APIs Powered By OAuth2.0 With Salla Partners
Salla Partners, backed by the OAuth2.0 security protocol, allows for scoped access to the Merchants' store. Developers use their account on the Partners Portal to mark the scopes they want to obtain, which is based on their own Appβs logic. Those marked app scopes will appear for the Merchant when requesting access, and if access is authorized, the developer can use the access token for a period of 14 days with the ability to refresh it using the refresh token within a 1-month timeline. Read more about the OAuth implementation via these articles here and here.
π Webhooks
Webhooks are an automated way for a server to talk to another server, allowing application developers to perform actions based on certain events. They provide an efficient and secure means of receiving near-real-time notifications from other services like payment processors, shipping providers and more. Salla provides two sets of events:
App Events: Automatic events sent to your webhook server that are related to your Salla App, which include Store Authorization, App Installed, App Subscription Started, App Settings Updated, and more!
Store Events: Events you can subscribe to from the Partners Portal where only the events you want will be sent to the Webhook Server URL set on the Portal. Such events are explained further below:
π« Rate Limit
Rate Limit regulates the number of API requests a client/developer can send per second. This helps protect API resources from abuse and overuse, and ensures that the API service is available to all customers who need it. When consuming Salla APIs, and to ensure fairness and stability for all the developers, Rate Limit are set to all the API endpoints.
π Language Support
Some specific API endpoints have support for multiple languages, which can be achieved via Accept Language and Content Language Header values. Read more on how to utilize the Multi-Language Support feature in Salla APIs in this article.
:::check[πΉ Test it out]
To get going quickly, we recommend using an API collaboration tool called Postman. You can use the link below to import our collection of endpoints.
:::
π ChangeLog
Introducing a new endpoint? Updating an existing one? Deprecating or even announcing a breakchange? All is found in the ChangeLog page as well as the API ChangeLog Telegram Channel. The Salla APIs ChangeLog allows users to view new releases, updates, and critical changes to all Salla's APIs. This provides an excellent way for Salla Developers to stay up-to-date with the latest changes that are occurring on Salla.
π₯ Community
Salla Developer Community is a vibrant and active community of developers who discuss topics around Salla Products such as Salla Partners, Salla APIs, Salla Open Source Projects, Twilight, and more. This space is found to connect with developers who are enthusiastic about creating amazing apps and themes as well as providing ultimate, end to end solutions to Salla Merchants. The knowledgbase portal is made for blogs and tutorials that target developers in using Salla Products. Be part of the community and join the Telegram group from here.