Poll return advices (PollReturnAdvices)
GET/vendor/return-advices
Returns the AUTHORIZED return advices of the vendor's nodes after readyAt,
oldest first, in pages. An advice is a network return authorization as the
vendor's work item: its lines and, as reverse labels are issued, their tracking
numbers. readyAfter compares with readyAt, the instant the advice became the
vendor's business (the authorization's authorizedAt). Pass the returned
nextCursor as cursor for the next page (repeat the filters); an absent
nextCursor means the last page. An advice leaves the poll once the network
records its outcome or the authorization is cancelled.
Request
Responses
- 200
- 400
- 404
- 422
- 429
- 500
One page of return advices.
The paging query is refused. Problem types: invalid-limit (limit not an integer from 1 to 500, empty or repeated),
invalid-cursor (the cursor is not a token this operation issued for this vendor, or is repeated) and
unknown-query-parameter (a query parameter the operation does not declare).
The resource does not exist (not-found; this includes an unknown vendorId on a vendor read or write), or it belongs to another vendor
(ErrNodeNotOwnedByVendor, problem type node-not-owned-by-vendor, 404 so a vendor cannot probe another vendor's nodes).
The request is malformed or breaks a validation rule. Problem types:
validation-failed (an unparsable body, an unknown or mistyped field, trailing data, a NUL character in the query or the body,
a missing or invalid vendorId, createdAfter that is not an RFC 3339 date-time, a failed field rule),
partial-acknowledgement (ErrPartialAcknowledgement) and
ack-window-out-of-range (ErrAckWindowOutOfRange).
Rate limit exceeded (RATE_LIMIT_RPS). Problem type rate-limited.
Response Headers
Seconds to wait before the next call.
An unexpected error. Problem type internal-error; the detail is always the opaque text an unexpected error occurred.