Test REST Environment
Make test REST requests without financial transactions
Test Environment
For testing and development purposes, we provide a dedicated REST test environment. This environment allows you to test API integrations without triggering real shipments or financial transactions.
The test environment is hosted at https://dev.sibi.pro, with each REST resource available under its own base path:
- Offers:
https://dev.sibi.pro/offers* - Products:
https://dev.sibi.pro/products* - Orders:
https://dev.sibi.pro/orders* - Draft Orders:
https://dev.sibi.pro/draft-orders*
Key Features
- All requests made to these endpoints are treated as test requests
- No real financial transactions will be processed
- Distributors will not be notified about orders
- Test data is regularly purged
- All other API functionality works as expected
Authentication
Authentication works the same way as the production API, but the tokens are not shared: mint a test REST API token for this environment. A production token sent here is refused with 403 TOKEN_ENVIRONMENT_MISMATCH, and vice versa. See REST API Tokens.
Include the token in the Authorization header:
curl \
--request GET \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
https://dev.sibi.pro/offers
const response = await fetch('https://dev.sibi.pro/offers', {
method: 'GET',
headers: { Authorization: `Bearer ${yourApiKey}` },
});
const data = await response.json();
Example Test Requests
Below are examples of common test operations you can perform on the test environment.
List Offers
curl \
--request GET \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
https://dev.sibi.pro/offers
Get a Product by SKU
curl \
--request GET \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
https://dev.sibi.pro/products/<SKU>
Cancel an Order
curl \
--request POST \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"reason": "Customer requested a cancellation"}' \
https://dev.sibi.pro/orders/<ORDER_ID>/cancel
Important Notes
- The test environment mirrors the production environment’s schema and validation rules
- While financial transactions aren’t processed, all other business logic remains intact
- Test data may be purged periodically
For full REST API documentation, see Making a REST Request.