The Reusely API is designed with RESTful principles. Our API uses resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and employs standard HTTP methods, response codes, and authentication techniques.
Reusely offers two types of APIs:
- Public API: Provides general access to data and services.
- Marketplace API: Integrates with data partners for additional insights and functionalities.
The primary difference is that the Marketplace API incorporates data from Reusely’s partners, offering a broader range of information.
General Information
Base URL: https://api.reusely.com/api/v2/public
Content Type: Requests should be made with Content-Type: application/json
Response Format: Responses are returned in JSON format
Authentication
To access the Reusely API, you generally need an API key. Include your API key in the x-api-key header of your requests. Additionally, specify your tenant ID in the x-tenant-id header.
Special Access Keys
x-secret-key -> There are several endpoints which must use this, including Inventory, Product, and Abandoned.
x-marketplace-key -> It is used for utilizing Marketplace API.
Ensure the security of your Secret key as it has significant privileges. Avoid sharing your Secret keys in publicly accessible areas, such as GitHub or client-side code.
User Notes
Regenerating API Keys: You can regenerate your API key from the add-on menu in the Reusely App.
Public API Access: Accessing the Reusely public API requires a subscription. Visit Reusely Pricing to ensure your plan includes public API support.
Subscription Status: If your subscription lapses, access to the public API will be denied (HTTP 401).
How to Get API key and Tenant ID?
To obtain your Reusely API key, follow these steps:
Log in to your Reusely account.
Navigate to the Add-on Settings.
Select Public API -> API Credentials.
Copy and paste the required key based on your needs.
If you need further assistance, please contact the Reusely administrator.