/paper-channel-bo/v1.
Authentication uses an API key passed in the
x-api-key request header. Read operations require the tender-read permission; write operations require tender-write.List costs for a driver and tender
GET/paper-channel-bo/v1/{tenderCode}/delivery-driver/{deliveryDriverId}/get-cost
Returns a paginated list of all costs for a delivery driver participating in a specific tender.
Path parameters
The unique code of the tender.
The unique identifier of the delivery driver.
Query parameters
Zero-based page number to retrieve.
Number of items per page.
Response
Array of cost records on the current page.
Current page number.
Number of elements on the current page.
Page size.
Total number of cost records across all pages.
Total number of pages.
Response codes
| Code | Description |
|---|---|
200 | OK |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Driver or tender not found |
405 | Method not allowed |
500 | Internal server error |
Example
Create or update a cost
POST/paper-channel-bo/v1/{tenderCode}/delivery-driver/{deliveryDriverId}/cost
Creates a new cost record or updates an existing one for a delivery driver in a specific tender. Requires the tender-write permission.
Provide either
cap (for domestic deliveries) or zone (for international deliveries), not both.Path parameters
The unique code of the tender.
The unique identifier of the delivery driver.
Request body
Product type. One of:
AR— Raccomandata A/R890— Legge 890RS— Raccomandata Semplice
Base price in euros. Range: 0–999999.
Additional per-unit price above the highest weight bracket. Range: 0–999999.
Unique identifier of the cost record. Provide to update an existing record; omit to create a new one.
Price for shipments up to 50 g. Range: 0–999999.
Price for shipments up to 100 g. Range: 0–999999.
Price for shipments up to 250 g. Range: 0–999999.
Price for shipments up to 350 g. Range: 0–999999.
Price for shipments up to 1000 g. Range: 0–999999.
Price for shipments up to 2000 g. Range: 0–999999.
List of 5-digit Italian CAP postal codes this cost applies to. Each value must match
/^[0-9]{5}$/.International delivery zone. One of
ZONE_1, ZONE_2, ZONE_3.Response codes
| Code | Description |
|---|---|
200 | OK — cost created or updated |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Driver or tender not found |
405 | Method not allowed |
500 | Internal server error |
Examples
Delete a cost
DELETE/paper-channel-bo/v1/{tenderCode}/delivery-driver/{deliveryDriverId}/cost/{uuid}
Permanently deletes a cost record associated with a delivery driver and tender. Requires the tender-write permission.
Path parameters
The unique code of the tender.
The unique identifier of the delivery driver.
The unique identifier (
uid) of the cost record to delete.Response codes
| Code | Description |
|---|---|
200 | Cost deleted successfully |
Example
Product types reference
| Value | Description |
|---|---|
AR | Raccomandata A/R (registered mail with return receipt) |
890 | Legge 890 (judicial notification mail) |
RS | Raccomandata Semplice (simple registered mail) |
International zones reference
| Value | Description |
|---|---|
ZONE_1 | International zone 1 |
ZONE_2 | International zone 2 |
ZONE_3 | International zone 3 |