> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sibipro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test GraphQL Environment

> Make test GraphQL requests without financial transactions

## Test Environment

For testing and development purposes, we provide a dedicated GraphQL test environment. This environment allows you to test API integrations without triggering real shipments or financial transactions.

The test environment is available at: [https://dev.sibi.pro/graphql](https://dev.sibi.pro/graphql)

## Key Features

* All requests made to this endpoint 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:

```shell Curl theme={null}
curl \
  --request POST \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --data '{"query": "<YOUR_QUERY>"}' \
  https://dev.sibi.pro/graphql
```

```javascript Fetch theme={null}
const response = await fetch('https://dev.sibi.pro/graphql', {
  method: 'POST',
  headers: { Authorization: `Bearer ${yourApiKey}` },
  body: JSON.stringify({ query: '<YOUR_QUERY>' }),
});
const data = await response.json();
```

## Example Test Requests

Below are examples of common test operations you can perform on the test environment.

### Search Products

```graphql theme={null}
query SearchProducts($search: String!) {
  searchProducts(search: $search) {
    edges {
      id
      name
      price
    }
  }
}
```

### Place Test Order

```graphql theme={null}
mutation PlaceOrder($input: OrderInput!) {
  placeOrder(input: $input) {
    id
    status
    total
  }
}
```

## 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 GraphQL API documentation, see [Making a GraphQL Request](/graphql/making-a-graphql-request).
