EUlabel
Quickstart

Sandbox Environment

Test the EUlabel API with pre-populated sample data in the sandbox.

The sandbox environment lets you experiment with the API without affecting production data.

Sandbox endpoint

https://sandbox.api.eulabel.eu/v1

Use sandbox API keys (prefixed with sk_test_) to authenticate.

Pre-populated test data

The sandbox includes sample products ready to use:

ProductGTINCategory
Mateus Rosé5601012011050wine
Sandeman Porto Tawny5601012012200wine
Gazela Vinho Verde5601012013900wine

Sandbox vs Production

FeatureSandboxProduction
API key prefixsk_test_sk_live_
Data persistenceReset periodicallyPermanent
Rate limitsRelaxedStandard
QR codesNot scannableLive resolution
WebhooksTest deliveriesReal deliveries

Getting a sandbox API key

  1. Log in to the EUlabel Dashboard
  2. Navigate to Settings > API Keys
  3. Click Create Key and select the Sandbox environment
  4. Copy the key -- it is only shown once

Testing with the sandbox

export API_KEY="sk_test_YOUR_SANDBOX_KEY"

# List pre-populated products
curl https://sandbox.api.eulabel.eu/v1/products \
  -H "Authorization: Bearer $API_KEY"

# Create a test product
curl -X POST https://sandbox.api.eulabel.eu/v1/products \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Test Wine","category":"wine","brand":"TestBrand","gtin":"4006381333931"}'

On this page