Insurance
Cancel an Insurance Policy
Cancel an insurance policy. Only policies in awaiting state can be cancelled.
This only cancels external_label policies (created via POST /insurances/policies-from-quote). Passing the easyship_insurance_id of an easyship_label policy (from GET /insurances/policies) returns a 404, since those are not managed by this endpoint.
Required authorization scope: public.insurance_policy_from_quote:write
post/2024-09/insurances/policies/{policy_id}/cancel
Request
- Base URLhttps://public-api.easyship.com
- URLhttps://public-api.easyship.com/2024-09/insurances/policies/{policy_id}/cancel
- AuthHTTP bearer
Path parameters
policy_idstring required
Insurance Policy ID
Response
insurance policy successfully cancelled
Changes
No recorded changes to this operation across all 2 revisions of this API.