Shipping Notes API Overview
Read the shipping notes of your store. A shipping note is one shipment of physical products that your store sends to the buyer or hands over at a pickup point. Publica.la creates the notes, and your store's staff change their status on the Shipments page of the dashboard. This API only reads them.
To be told when a note is created or its status changes, subscribe to the shipping_note.status_changed webhook. Use this API to read the notes you missed or to sync them in bulk.
Features
- List and get the shipping notes of your store
- Filters by status, type, order, buyer, product and date ranges
- Response shaping with
includeandfieldsto control the payload size - Cursor-based pagination of up to 500 notes per page
Authentication
| Header | Example | Description |
|---|---|---|
| X-User-Token | your-api-token | API token generated in your dashboard (how). Header-only for security. |
| Accept | application/json | Required. Without it, errors come back as redirects or HTML pages instead of the status codes on this page |
All requests must be performed over HTTPS.
curl -X GET "https://yourstore.publica.la/api/v3/shipping-notes" \
-H "X-User-Token: your-api-token" \
-H "Accept: application/json"
Requirements
The Shipping Notes API needs the same store feature as the Orders API. On a store without it, every endpoint answers 403 Forbidden:
{
"message": "This action is unauthorized."
}
A request is checked in this order: the token (401), the store feature (403), the query parameters (422), and then the note in the URL (404). So an invalid include on a note that does not exist answers 422.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v3/shipping-notes | List shipping notes |
GET | /api/v3/shipping-notes/{shippingNote} | Get a shipping note |
{shippingNote} is the note's id.
Which Notes the API Returns
Both endpoints return only the notes of your own store.
Notes in pending status are never returned: the list leaves them out, filter[status]=pending answers 422, and getting one by its id answers 404. Every other status is returned: order-generated, in-transit, pickup, delivered, completed and cancelled. See Statuses for what the dashboard shows for each one.
The Shipping Note Object
A note of a home delivery, as ?include=order,user,products,payment returns it:
{
"id": "7215",
"uuid": "0d4e8a6b-3f21-4c9a-8e57-b1c2d3e4f5a6",
"status": "in-transit",
"type": "delivery",
"shipment_number": 1,
"period_length": 1,
"order_id": "1001",
"payment_id": "4003",
"amount": 5.5,
"currency_id": "USD",
"coupon_code": null,
"tracking_number": "TRK123456789",
"tracking_url": "https://tracking.example.com/TRK123456789",
"carrier": {
"id": "701",
"title": "Home delivery",
"description": "3 to 5 business days"
},
"recipient": {
"name": "Jane Buyer",
"national_id": "20123456789",
"phone": "+54 11 5555 0100",
"address_line_1": "Av. Example 123",
"address_line_2": null,
"city": "Buenos Aires",
"state": "C",
"country": "AR",
"postal_code": "C1001",
"other_information": null,
"extra_1": null,
"extra_2": null
},
"created_at": "2026-11-20T14:30:10.000000Z",
"updated_at": "2026-11-21T09:12:44.000000Z",
"order": {
"id": "1001",
"uuid": "9b2f6c1e-4a7d-4e8b-9f3a-2c5d8e1f0a42",
"external_id": "ORD-1001",
"type": "sale",
"status": "approved",
"unit_price": 32.48,
"currency_id": "USD",
"created_at": "2026-11-20T14:30:00.000000Z",
"updated_at": "2026-11-20T14:30:05.000000Z"
},
"user": {
"id": "501",
"uuid": "3e7a1d2c-8b4f-4c6e-a9d1-7f2b5c8e0d13",
"external_id": "USR-501",
},
"products": [
{
"id": "301",
"external_id": "9780000000001",
"type": "content",
"name": "An Example Book",
"quantity": 1,
"unit_price": 13.49,
"currency_id": "USD"
},
{
"id": "302",
"external_id": "9780000000002",
"type": "content",
"name": "Another Example Book",
"quantity": 2,
"unit_price": 8.99,
"currency_id": "USD"
}
],
"payment": {
"recurring_cycle": null,
"tax": 0.95,
"tax_rate": 21
}
}
| Field | Type | Description |
|---|---|---|
id | string | Shipping note ID |
uuid | string | Shipping note UUID |
status | string | Any status except pending. See Which notes the API returns |
type | string | delivery for a delivery to an address, warehouse for a pickup at a pickup point |
shipment_number | integer | Number of this shipment among the notes of payment_id, starting at 1. On an annual plan, the number of the shipment within the paid year, from 1 to 12 |
period_length | integer | Shipments that payment_id pays for: 12 on an annual plan, 1 otherwise |
order_id | string | ID of the order the note ships. It is the id of the order in the Orders API, not its uuid. To read the order with the note, use include=order |
payment_id | string | ID of the shipping payment the note belongs to. An empty string (""), not null, when the note has no shipping payment |
amount | number | Shipping amount of this shipment, tax included, after the shipping discount of coupon_code |
currency_id | string | ISO 4217 currency code of amount, and of payment.tax |
coupon_code | string | null | Code of the coupon that discounted the shipping. null when no coupon discounted it |
tracking_number | string | null | Tracking number of the parcel. null when the note has none |
tracking_url | string | null | URL to track the parcel. null when the note has none |
carrier | object | The shipping method the buyer chose. See Carrier and recipient |
recipient | object | The person who receives the shipment, and where. See Carrier and recipient |
created_at | string | ISO 8601 creation timestamp |
updated_at | string | ISO 8601 last update timestamp. A status change updates it |
order | object | Included block. See Order |
user | object | Included block. See User |
products | array | Included block. See Products |
payment | object | Included block. See Payment |
Carrier and Recipient
carrier and recipient are the note's snapshot of the order's shipping details, taken when the note is created.
carrier:
| Field | Type | Description |
|---|---|---|
id | string | Carrier ID |
title | string | null | Name of the carrier or pickup point |
description | string | null | Description of the carrier, such as a delivery time or a pickup point's address. null when empty |
recipient has these fields, each a string or null. An empty value comes back as null.
| Field | Description |
|---|---|
name | Name of the person who receives the shipment |
national_id | National ID number |
phone | Phone number |
address_line_1 | First line of the address |
address_line_2 | Second line of the address |
city | City |
state | State or province, usually a subdivision code without the country prefix, such as C |
country | ISO 3166-1 alpha-2 country code |
postal_code | Postal code |
other_information | Additional information the buyer entered |
extra_1 | First extra field of your store's shipping settings |
extra_2 | Second extra field of your store's shipping settings |
On a pickup note (type warehouse), the address fields are always null: every field except name, national_id and phone.
Included Blocks
include takes any combination of order, user, products and payment, separated by commas. Without include, each note ends at updated_at. Any other value answers 422:
{
"message": "Invalid include: shipments. Allowed: order, user, products, payment",
"errors": {
"include": [
"Invalid include: shipments. Allowed: order, user, products, payment"
]
}
}
order
The order the note ships, with the same fields as the base order of the Orders API: id, uuid, external_id, type, status, unit_price, currency_id, created_at and updated_at. It carries none of the Orders API's own included blocks.
user
The buyer of the order: id, uuid, external_id and email. id is a string.
products
The physical lines of the order, sorted by line. The digital lines of the same order are left out. Every note of an order lists the same lines, so a subscription that ships every month lists its plan on each note.
| Field | Type | Description |
|---|---|---|
id | string | For a content line, the ID of the content. For a subscription line, the plan ID |
external_id | string | null | For a content line, the content's primary identifier, such as its ISBN. For a subscription line, the plan's external_id |
type | string | content or subscription |
name | string | Name of the content or the plan |
quantity | integer | Units on the line |
unit_price | number | null | Price of one unit |
currency_id | string | ISO 4217 currency code of unit_price |
payment
The shipping payment payment_id as it applies to this note:
| Field | Type | Description |
|---|---|---|
recurring_cycle | integer | null | Billing cycle of the shipping payment payment_id. null when that payment has no cycle |
tax | number | null | The part of the shipping payment's tax that this note's amount covers, not the tax of the whole payment. See the example below |
tax_rate | number | null | Tax rate of the shipping payment, as a percentage. It reads 0 when the gateway computed the tax (Stripe Tax), so rely on tax |
payment.tax is not the tax of the whole payment. It is the share of that tax that matches the note's amount, in the currency of currency_id. For example, a shipping payment of 20 with a tax of 1.74 and a note with an amount of 10 give payment.tax 0.87, because the note covers 10 of the 20.
When the note has no shipping payment, payment is not null: it is {"recurring_cycle": null, "tax": null, "tax_rate": null}.
The fields Parameter
fields keeps only the top-level keys you name, separated by commas, and ignores names that do not exist. It applies after include, so it can leave out a block you included, but it never adds a block you did not include. ?include=user,order&fields=id,user returns only id and user.
Errors
Error messages are always in English, whatever the language of your store. A 422 answers with the first error in message and every error under its parameter in errors.
| Status | Condition |
|---|---|
401 | Missing or invalid X-User-Token. See the Orders API errors for the messages |
403 | The store does not have the feature of the Orders API. See Requirements |
404 | The note does not exist, is pending, belongs to another store, or the id is not made only of digits. See Get a shipping note |
422 | Invalid query parameter. See List shipping notes and Get a shipping note |
Rate Limiting
The limits of the rest of the API apply, and every request to these endpoints counts against the daily read quota. See the API Overview.
See Also
- List Shipping Notes: filter and page through the notes
- Get a Shipping Note: read one note
shipping_note.status_changed: the webhook sent when a note is created or its status changes- Orders API: the orders the notes ship