Allegro
Allegro is Poland's largest e-commerce platform, offering integrated shipping services through various carriers.
Overview
| Feature | Supported |
|---|---|
| Countries | Poland (PL) |
| Multi-parcel shipments | Yes |
| Cash on Delivery (COD) | Yes |
| Insurance | Yes |
| Label formats | PDF, ZPL |
| Tracking | Yes |
Configuration
Required Settings
| Setting | Type | Description |
|---|---|---|
accessToken | string | Your Allegro OAuth access token |
refreshToken | string | Your Allegro OAuth refresh token |
tokenExpiresAt | datetime | Token expiration timestamp |
clientId | string | Your Allegro application client ID |
clientSecret | string | Your Allegro application client secret |
Optional Settings
| Setting | Type | Default | Description |
|---|---|---|---|
ibanAccountNumber | string | null | IBAN account for COD payments |
defaultLabelFormat | string | "PDF" | Label format: PDF or ZPL |
Authentication
Allegro uses OAuth 2.0 authentication. The system automatically refreshes tokens when they expire.
| Field | Description |
|---|---|
accessToken | Short-lived token for API requests |
refreshToken | Long-lived token for obtaining new access tokens |
tokenExpiresAt | Timestamp when access token expires |
Token Refresh
The system automatically refreshes the access token 5 minutes before expiration.
Cash on Delivery (COD)
| Field | Required | Description |
|---|---|---|
cash_on_delivery_amount | Yes | The amount to collect |
cash_on_delivery_currency | Yes | Currency (typically PLN) |
ibanAccountNumber | Yes | IBAN account for receiving COD payments |
Label Formats
| Format | Description |
|---|---|
PDF | Standard PDF format for office printers |
ZPL | Zebra Programming Language for thermal printers |