AfterShip · Schema
Claim
ShippingTrackingE-CommercePost-PurchaseNotificationLogisticsReturnsWarrantyAddress ValidationFulfillmentCarrierWebhookMCPRetail
Properties
| Name | Type | Description |
|---|---|---|
| id | string | claim id |
| number | string | claim number from insurance supplier |
| coverage_id | string | coverage id that this claim is associated with |
| status | string | claim status |
| resolve_status | string | resolve status of the claim |
| resolved_resolution_method | string | resolution method selected for the claim |
| resolved_resolution_detail | string | details on resolution method when resolved_resolution_method is 'other' |
| customer_resolution_method | string | resolution method expected by the customer |
| customer_resolution_detail | string | details on resolution method expected by the customer when customer_resolution_method is 'other' |
| created_at | string | created time in ISO8601 format |
| updated_at | string | updated time in ISO8601 format |
| issue_type | string | type of issue for the claim |
| issue_desc | string | description of the issue |
| issue_commodity | string | the category of the claimed items |
| claim_items | array | items being claimed |
| claim_items_amount | object | |
| shipping_amount | object | |
| claim_submit_amount | object | |
| uploaded_documents | array | supporting documents |
| required_document_types | array | types of documents required for the claim approval process |
| claim_payment_amount | object | |
| paid_at | string | time payment was made for the claim in ISO8601 format null if the claim has not been paid yet |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-claim-v1-schema.json",
"title": "Claim",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aftership-claims-api-openapi.yml#/components/schemas/Claim.v1",
"x-stoplight": {
"id": "hqvy8ouqw523t"
},
"x-tags": [
"Resource"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "claim id"
},
"number": {
"type": "string",
"minLength": 1,
"description": "claim number from insurance supplier"
},
"coverage_id": {
"type": "string",
"minLength": 1,
"description": "coverage id that this claim is associated with"
},
"status": {
"type": "string",
"minLength": 1,
"enum": [
"unsubmitted",
"submitted",
"under_review",
"approved",
"paid",
"closed",
"denied",
"waiting_on_documents"
],
"description": "claim status"
},
"resolve_status": {
"type": "string",
"minLength": 1,
"enum": [
"precheck",
"to_be_resolved",
"denied",
"resolved"
],
"description": "resolve status of the claim"
},
"resolved_resolution_method": {
"type": "string",
"description": "resolution method selected for the claim",
"enum": [
"refund_to_original_payment_method",
"refund_to_store_credit",
"reship_the_same_items",
"other"
]
},
"resolved_resolution_detail": {
"type": "string",
"description": "details on resolution method when resolved_resolution_method is 'other'"
},
"customer_resolution_method": {
"type": "string",
"description": "resolution method expected by the customer",
"enum": [
"refund_to_original_payment_method",
"refund_to_store_credit",
"reship_the_same_items",
"other"
]
},
"customer_resolution_detail": {
"type": "string",
"description": "details on resolution method expected by the customer when customer_resolution_method is 'other'"
},
"created_at": {
"type": "string",
"minLength": 1,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$",
"description": "created time in ISO8601 format"
},
"updated_at": {
"type": "string",
"minLength": 1,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$",
"description": "updated time in ISO8601 format"
},
"issue_type": {
"type": "string",
"enum": [
"lost_in_transit",
"porch_pirated",
"damaged"
],
"description": "type of issue for the claim"
},
"issue_desc": {
"type": "string",
"description": "description of the issue"
},
"issue_commodity": {
"type": "string",
"description": "the category of the claimed items"
},
"claim_items": {
"type": "array",
"description": "items being claimed",
"items": {
"$ref": "#/$defs/Order_item.v1"
}
},
"claim_items_amount": {
"$ref": "#/$defs/Amount.v1"
},
"shipping_amount": {
"$ref": "#/$defs/Amount.v1"
},
"claim_submit_amount": {
"$ref": "#/$defs/Amount.v1"
},
"uploaded_documents": {
"type": "array",
"description": "supporting documents",
"items": {
"type": "object",
"properties": {
"file_name": {
"type": "string",
"description": "name of the uploaded document"
},
"created_at": {
"type": "string",
"minLength": 1,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$",
"description": "created time in ISO8601 format"
},
"url": {
"type": "string",
"description": "URL of the uploaded document"
},
"url_expired_at": {
"type": "string",
"minLength": 1,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$",
"description": "expiration time of the URL in ISO8601 format"
}
}
}
},
"required_document_types": {
"type": "array",
"description": "types of documents required for the claim approval process",
"items": {
"type": "string"
}
},
"claim_payment_amount": {
"$ref": "#/$defs/Amount.v1"
},
"paid_at": {
"type": "string",
"description": "time payment was made for the claim in ISO8601 format \n\n null if the claim has not been paid yet",
"minLength": 1,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
}
},
"$defs": {
"Amount.v1": {
"title": "Amount",
"type": "object",
"x-tags": [
"Primitive"
],
"properties": {
"amount": {
"type": "string",
"pattern": "^[0-9.]+$"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"minLength": 3,
"maxLength": 3,
"description": "Only support USD for now"
}
},
"required": [
"amount",
"currency"
]
},
"Order_item.v1": {
"type": "object",
"x-stoplight": {
"id": "33da09c0dfb8c"
},
"title": "Order Item",
"x-tags": [
"Primitive"
],
"properties": {
"source_id": {
"type": "string",
"description": "A globally-unique identifier for the item."
},
"title": {
"type": "string",
"minLength": 1,
"description": "Name of the product"
},
"quantity": {
"type": "integer",
"description": "Quantity of the item in order"
},
"unit_insured_amount": {
"$ref": "#/$defs/Amount.v1",
"description": "Indicate the insured amount for each individual item"
},
"sku": {
"type": "string",
"minLength": 1,
"description": "SKU of the product item"
},
"image_urls": {
"type": "array",
"description": "item image urls",
"items": {
"type": "string"
}
}
},
"required": [
"source_id",
"title",
"quantity",
"unit_insured_amount"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aftership-claim-v1"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.