The Warranty Claim object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: Open
{
"id": "warranty-claim_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "Open",
"complaint_date": "2024-01-15",
"serial_no": "serial_no_example",
"customer": "customer_example",
"complaint": "complaint_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"description": "description_example",
"warranty_amc_status": "warranty_amc_status_example",
"warranty_expiry_date": "2024-01-15",
"amc_expiry_date": "2024-01-15",
"resolution_date": "2024-01-15",
"resolved_by": "resolved_by_example",
"resolution_details": "resolution_details_example",
"customer_name": "customer_name_example",
"contact_person": "contact_person_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"territory": "territory_example",
"customer_group": "customer_group_example",
"customer_address": "customer_address_example",
"address_display": "address_display_example",
"service_address": "service_address_example",
"company": "Example Corp",
"complaint_raised_by": "complaint_raised_by_example",
"from_company": "Example Corp"
} /api/support/warranty-claim/{id} Retrieve a warranty claim
Retrieves the details of an existing warranty claim. Supply the unique warranty claim ID that was returned from a previous request.
Path parameters
The identifier of the warranty claim to retrieve.
Returns
Returns the warranty claim object if a valid identifier was provided.
curl https://api.overplane.dev/api/support/warranty-claim/warranty-claim_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "warranty-claim_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "Open",
"complaint_date": "2024-01-15",
"serial_no": "serial_no_example",
"customer": "customer_example",
"complaint": "complaint_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"description": "description_example",
"warranty_amc_status": "warranty_amc_status_example",
"warranty_expiry_date": "2024-01-15",
"amc_expiry_date": "2024-01-15",
"resolution_date": "2024-01-15",
"resolved_by": "resolved_by_example",
"resolution_details": "resolution_details_example",
"customer_name": "customer_name_example",
"contact_person": "contact_person_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"territory": "territory_example",
"customer_group": "customer_group_example",
"customer_address": "customer_address_example",
"address_display": "address_display_example",
"service_address": "service_address_example",
"company": "Example Corp",
"complaint_raised_by": "complaint_raised_by_example",
"from_company": "Example Corp"
} /api/support/warranty-claim List all warranty claims
Returns a list of warranty claims. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of warranty claim objects.
curl https://api.overplane.dev/api/support/warranty-claim \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "warranty-claim_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "Open",
"complaint_date": "2024-01-15",
"serial_no": "serial_no_example",
"customer": "customer_example",
"complaint": "complaint_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"description": "description_example",
"warranty_amc_status": "warranty_amc_status_example",
"warranty_expiry_date": "2024-01-15",
"amc_expiry_date": "2024-01-15",
"resolution_date": "2024-01-15",
"resolved_by": "resolved_by_example",
"resolution_details": "resolution_details_example",
"customer_name": "customer_name_example",
"contact_person": "contact_person_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"territory": "territory_example",
"customer_group": "customer_group_example",
"customer_address": "customer_address_example",
"address_display": "address_display_example",
"service_address": "service_address_example",
"company": "Example Corp",
"complaint_raised_by": "complaint_raised_by_example",
"from_company": "Example Corp"
}
],
"has_more": false,
"total": 1
} /api/support/warranty-claim Create a warranty claim
Creates a new warranty claim object.
Body parameters
Default: Open
Returns
Returns the newly created warranty claim object if the call succeeded.
curl https://api.overplane.dev/api/support/warranty-claim \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"complaint_date":"2024-01-15","customer":"customer_example","complaint":"complaint_example","company":"Example Corp"}' {
"id": "warranty-claim_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "Open",
"complaint_date": "2024-01-15",
"serial_no": "serial_no_example",
"customer": "customer_example",
"complaint": "complaint_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"description": "description_example",
"warranty_amc_status": "warranty_amc_status_example",
"warranty_expiry_date": "2024-01-15",
"amc_expiry_date": "2024-01-15",
"resolution_date": "2024-01-15",
"resolved_by": "resolved_by_example",
"resolution_details": "resolution_details_example",
"customer_name": "customer_name_example",
"contact_person": "contact_person_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"territory": "territory_example",
"customer_group": "customer_group_example",
"customer_address": "customer_address_example",
"address_display": "address_display_example",
"service_address": "service_address_example",
"company": "Example Corp",
"complaint_raised_by": "complaint_raised_by_example",
"from_company": "Example Corp"
} /api/support/warranty-claim/{id} Update a warranty claim
Updates the specified warranty claim by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the warranty claim to update.
Body parameters
Default: Open
Returns
Returns the updated warranty claim object.
curl https://api.overplane.dev/api/support/warranty-claim/warranty-claim_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"status":"Open","complaint_date":"2024-01-15"}' {
"id": "warranty-claim_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "Open",
"complaint_date": "2024-01-15",
"serial_no": "serial_no_example",
"customer": "customer_example",
"complaint": "complaint_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"description": "description_example",
"warranty_amc_status": "warranty_amc_status_example",
"warranty_expiry_date": "2024-01-15",
"amc_expiry_date": "2024-01-15",
"resolution_date": "2024-01-15",
"resolved_by": "resolved_by_example",
"resolution_details": "resolution_details_example",
"customer_name": "customer_name_example",
"contact_person": "contact_person_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"territory": "territory_example",
"customer_group": "customer_group_example",
"customer_address": "customer_address_example",
"address_display": "address_display_example",
"service_address": "service_address_example",
"company": "Example Corp",
"complaint_raised_by": "complaint_raised_by_example",
"from_company": "Example Corp"
} /api/support/warranty-claim/{id} Delete a warranty claim
Permanently deletes a warranty claim. This cannot be undone.
Path parameters
The identifier of the warranty claim to delete.
Returns
Returns a confirmation that the warranty claim has been deleted.
curl https://api.overplane.dev/api/support/warranty-claim/warranty-claim_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "warranty-claim_abc123",
"deleted": true
}