Create a customs milestone for a shipment. Requires the public_api:create_customs_milestone permission, granted by the customs public API role.
The following milestones are supported:
| Milestone name | Description |
|---|---|
/shipment#export_country_customs_exam |
Customs examination in the export country. |
/shipment#export_customs_cleared |
Export customs clearance completed for the shipment. |
Milestone request is pending
Bad request
{- "milestone_name": "/shipment#export_customs_cleared",
- "milestone_data": {
- "shipment_id": 123
}
}{- "_object": "/api/response",
- "version": 2,
- "data": { }
}