Fictional API example. This page demonstrates documentation features; its operations do not describe a live service.
This reference is generated from the OpenAPI description. It shows the operation contract; follow any related guides below for task steps and context.
OpenAPI for this operation: Download JSON.
GET /legacy/parcels/{parcelId}
Get a parcel through the old route
Deprecated operation.
Servers
https://sandbox.api.cedar-parcel.example/v1 — Sandbox
https://api.cedar-parcel.example/v1 — Production
Authentication
Use one of these authentication options:
Bearer token
HTTP bearer (JWT).
Short-lived service token.
API key
API key in header X-Parcel-Key.
Long-lived account key.
Parameters
parcelId (path)
Required
string
Responses
200: OK
application/json
Parcel found. Use the current lookup route for new integrations.
5 properties
-
parcelIdstringalways present ⓘ -
statusenum<string>always present ⓘ -
declaredValuenumberalways present ⓘminimum: 0; multipleOf: 0.01
Value in currency units, to the nearest cent.
-
recipientobjectalways present ⓘ2 properties
-
citystringalways present ⓘ -
postalCodestringalways present ⓘ
-
-
eventslist of objectmay be absent ⓘTracking history in chronological order.
Array items:
object
3 properties
-
kindenum<string>always present ⓘ -
atstringalways present ⓘformat: date-time
-
detailsstringmay be absent nullable ⓘ
-