Get a coverage by ID.
OK
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
coverage id
policy id from insurance supplier
policy status
URL of the policy detail
Effective time of coverage, times in ISO8601 format.Show all...
expiration time of coverage, render times in ISO8601 format e.g.: "2012-01-01T12:00:00Z"
Updated time in ISO8601 format.Show all...
Created time in ISO8601 format.Show all...
tracking information about package.
Indicates who paid for the premium
Bad Request
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Unauthorized
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Unprocessable Entity (WebDAV)
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
{ "meta": { "code": 20000, "type": "OK", "message": "The request was successfully processed by AfterShip." }, "data": { "id": "string", "policy_number": "412-231-231", "status": "inactive", "policy_detail_url": "string", "premium": { "amount": "string", "currency": "USD" }, "effective_time": "2022-12-12T12:23:34.333Z", "expiration_time": "2022-12-12T12:23:34.333Z", "updated_at": "2022-12-12T12:23:34.333Z", "created_at": "2022-12-12T12:23:34.333Z", "additional_fields": "string", "products": { "name": "string", "quantity": 0, "price": { "amount": "string", "currency": "USD" }, "sku": "string", "images": [ "string" ] }, "destination_detail": { "address": { "street_1": "street line 1", "street_2": "street line 2", "street_3": "street line 3", "district": "Winston Salem", "postal_code": "27101", "city": "NC", "state": { "name": "New York" }, "country_region": { "code": "USA" } }, "phone": { "country_region_code": "string", "number": "string" }, "email": "string", "full_name": { "first_name": "string", "last_name": "string" } }, "original_detail": { "address": { "street_1": "street line 1", "street_2": "street line 2", "street_3": "street line 3", "district": "Winston Salem", "postal_code": "27101", "city": "NC", "state": { "name": "New York" }, "country_region": { "code": "USA" } }, "phone": { "country_region_code": "string", "number": "string" }, "email": "string", "full_name": { "first_name": "string", "last_name": "string" } }, "trackings": { "slug": "string", "tracking_number": "string" }, "subtotal": { "amount": "string", "currency": "USD" }, "order_date": "2022-01-01", "ship_date": "2022-01-01" } }