Skip to content

Read an order as its customer follows it

GET
/v1/orders/{id}/progress
curl --request GET \
--url https://api.pixonaut.app/v1/orders/example/progress \
--header 'Authorization: Bearer <token>'

Operation ID: orders.progress.get

Where the order has got to, how it ships once shipped, when it was placed, and the steps it took. A failed order that was sent again answers as the order that took its place (one that names it as replaced, or a later order of the same print, quantity, reference and variant), under this order’s id. Never the printshop, its reference, why an order failed, the recipient or the fulfilment payload.

id
required
string

The order’s progress

Media typeapplication/json
object
id
required
string
status
required
string
steps
required

Each status the order reached, oldest first, and when. A failed order that was sent again shows the steps of the order that took its place.

Array<object>
object
at
required
number
status
required
string
submittedAt
required
number
tracking
required
object
carrier

Who carries it, such as DHL.

string
>= 1 characters <= 100 characters
number
required

The shipment’s tracking number.

string
>= 1 characters <= 100 characters
url

Where the shipment is followed: an https address.

string format: uri
<= 2048 characters

Examples

Exampleexample

Example

{
"id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
"status": "shipped",
"steps": [
{
"at": 1791886447000,
"status": "submitted"
},
{
"at": 1791886505000,
"status": "queued"
},
{
"at": 1791897247000,
"status": "printed"
},
{
"at": 1791965647000,
"status": "shipped"
}
],
"submittedAt": 1791886447000,
"tracking": {
"carrier": "PostNord",
"number": "00370725001234567890",
"url": "https://tracking.postnord.com/en/?id=00370725001234567890"
}
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: unauthorized

Media typeapplication/json
object
error
required
string

Examples

Exampleunauthorized

unauthorized

{
"error": "unauthorized"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: origin_forbidden, secret_key_required, feature_disabled

Media typeapplication/json
object
error
required
string
feature

The feature the tenant does not have. Always sent with feature_disabled.

string

Examples

feature_disabled

{
"error": "feature_disabled",
"feature": "api"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: order_not_found, not_found

Media typeapplication/json
object
error
required
string

Examples

not_found

{
"error": "not_found"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: rate_limited

Media typeapplication/json
object
error
required
string

Examples

Examplerate_limited

rate_limited

{
"error": "rate_limited"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: db_error. A request that failed unexpectedly answers as text instead.

object
error
required
string

Examples

Exampledb_error

db_error

{
"error": "db_error"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: lock_timeout

Media typeapplication/json
object
error
required
string

Examples

Examplelock_timeout

lock_timeout

{
"error": "lock_timeout"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Questions? Write to [email protected].

Status · Terms of service · Privacy policy · Subprocessors