List deliveries
GET
/orders
const url = 'https://api.govza.app/v1/partner/orders?limit=20&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.govza.app/v1/partner/orders?limit=20&offset=0' \ --header 'Authorization: Bearer <token>'Returns this API account’s deliveries, newest first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
Number of deliveries to return.
offset
integer
Number of newest deliveries to skip.
Responses
Section titled “Responses”The account’s deliveries.
Media typeapplication/json
object
success
boolean
data
object
orders
Array<object>
object
external_order_id
string
order_code
The human-readable Govza order code.
string
status
string
price
number
tracking_url
Public tracking page, safe to forward to the recipient. Present on
create; when reading or listing, null if the order has no link yet
— reads never create one. Use
POST /orders/{external_order_id}/tracking_link to issue one.
string
tracking_urls
Individual tracking pages in dropoff order. Null for a single-dropoff order or when unavailable.
Array<string>
limit
integer
offset
integer
Example
{ "data": { "orders": [ { "status": "new" } ] }}The key is missing, malformed, revoked, or its account can no longer create orders.
Media typeapplication/json
object
success
boolean
error
object
id
string
code
string
message
string
details
string
Example
{ "success": false}