PUT /tracking-events/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
actionRequired boolean | null
Action required
-
city string | null
City
-
country string | null
Country
-
createdAt string(date-time)
Created at
-
details string | null
Details
-
externalId string | null
External
-
id integer(int32)
Id
-
purchaseInvoiceId integer(int32) | null
Purchase invoice
-
state string | null
State
-
status string | null
Status
Values are
pre_transit
,transit
,delivered
,returned
,failure
, orunknown
. -
Status at
-
subStatus string | null
Sub status
Values are
information_received
,address_issue
,contact_carrier
,delayed
,delivery_attempted
,delivery_rescheduled
,delivery_scheduled
,location_inaccessible
,notice_left
,out_for_delivery
,package_accepted
,package_arrived
,package_damaged
,package_departed
,package_forwarded
,package_held
,package_processed
,package_processing
,pickup_available
,reschedule_delivery
,delivered
,return_to_sender
,package_unclaimed
,package_undeliverable
,package_disposed
,package_lost
, orother
. -
Transaction
-
updatedAt string(date-time)
Updated at
-
zip string | null
Zip
PUT /tracking-events/{id}.json
curl \
-X PUT http://api.example.com/v1/tracking-events/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"actionRequired":true,"city":"string","country":"string","createdAt":"2024-05-04T09:42:00+00:00","details":"string","externalId":"string","id":42,"purchaseInvoiceId":42,"state":"string","status":"pre_transit","statusAt":"2024-05-04T09:42:00+00:00","subStatus":"information_received","transactionId":42,"updatedAt":"2024-05-04T09:42:00+00:00","zip":"string"}'
Request example
{
"actionRequired": true,
"city": "string",
"country": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"details": "string",
"externalId": "string",
"id": 42,
"purchaseInvoiceId": 42,
"state": "string",
"status": "pre_transit",
"statusAt": "2024-05-04T09:42:00+00:00",
"subStatus": "information_received",
"transactionId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"zip": "string"
}