Step-by-step
How to Get SalesPlay REST API Access for Business Integration
If you're looking to integrate SalesPlay POS with your own inventory, accounting, or ERP system, our REST API allows you to securely access business-critical data like products, orders, stock levels, and more.
This guide will help you get started with accessing and using SalesPlay APIs effectively.
SalesPlay currently provides REST API access for the following resources:
You can use these APIs to build real-time integrations with your internal systems.
Step 1: Generate an Access Token
To authenticate API requests, you need a personal access token.
Here’s how to get it:
⚠️ Keep this token confidential and never expose it publicly.
Step 2: Set Up Your Environment (Optional for Developers)
To test the API using Postman:
This setup allows for streamlined testing across multiple endpoints.
Endpoint to Get Product List:
bash
GET /products
Full URL:
bash
https://api.salesplaypos.com/v1.0/products
Headers Required:
pgsql
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json
Sample cURL Request:
bash
curl --request GET \
--url https://api.salesplaypos.com/v1.0/products \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'
This will return a paginated list of products. Use the cursor parameter to navigate large datasets.
Handling Pagination
API Rate Limits
SalesPlay APIs are rate-limited:
Plan your integration to respect this limit and implement retry logic if necessary.
Date & Time Format
All timestamps in the API follow 24-hour format. Make sure to convert them to your local time zone as needed.
API Versioning
All API endpoints follow versioning in the base URL:
arduino
https://api.salesplaypos.com/v1.0
Future updates may include new versions (e.g., v1.1, v2.0), so be sure to reference the correct one.
Need Help?
If you have any issues or need help with your API integration:
We’re happy to assist!
Was this helpful?