Skip to main content

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*
  • Order Cancellation: https://dev.sibi.pro/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. Include your API key in the Authorization header:
Curl
curl \
  --request GET \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  https://dev.sibi.pro/offers
Fetch
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
curl \
  --request GET \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  https://dev.sibi.pro/offers

Get a Product by SKU

Curl
curl \
  --request GET \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  https://dev.sibi.pro/products/<SKU>

Cancel an Order

Curl
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.