Back to Warranty API
Retry GHL Sync
POST
/api/v1/warranty/{hin}/retry-sync
If the initial CRM sync failed, use this endpoint to retry the synchronization. The response includes detailed sync status information.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| hin | string | Yes | Hull ID Number (12 alphanumeric chars) |
Example Request
curl -X POST https://api.marquatica.com/api/v1/warranty/ABC12345DE78/retry-sync \
-H "Authorization: Bearer <Token>"
Success Response
{
"success": true,
"status": 200,
"data": {
"hin": "ABC12345DE78",
"brand_id": 1,
"brand_name": "Brand XYZ",
"model": "Model XYZ",
"model_year": "2025",
"warranty_status": "active",
"ghl_sync": {
"status": "synced",
"error": null,
"last_attempt": "2025-01-15T14:30:00Z",
"attempts": 2
}
},
"meta": {
"timestamp": "2025-01-15T14:30:00.000000Z",
"version": "0.1.2"
}
}
Error Response
{
"success": false,
"status": 404,
"error": {
"code": "WARRANTY_NOT_FOUND",
"message": "No warranty found with this HIN"
},
"meta": {
"timestamp": "2025-01-15T14:30:00.000000Z",
"version": "0.1.2"
}
}
Try It Out
cURL Preview
POST https://api.marquatica.com/api/v1/warranty/{hin}/retry-sync
Base URL
Authorization
Bearer Token
Path Parameters
* hin required
Response
Send a request to see the response