Skip to main content
GET
Preview a purchase order's arrival due date

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Query Parameters

warehouse_id
integer

Destination warehouse (the PO's warehouse_id). An id that is not a warehouse returns 422, as on create.

shipment_type
enum<string>

Freight mode. Matching is case-insensitive (sea is read as Sea); any other value returns 422.

Available options:
Air,
Sea,
Road,
Rail,
Express
requested_ship_date
string<date>

Requested ship date (YYYY-MM-DD). When blank, the count starts from today, as it does on save, unless the account's transit_eta_requires_ship_date setting is on; then no date is computed.

override_transit_days
integer

Transit days to use instead of the matrix. When set, source is override.

Required range: 0 <= x <= 3650

Response

Arrival date preview (all fields null when no date can be computed)

data
object