curl -X GET "https://api.chariow.com/v1/licenses/ABC-123-XYZ-789" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"message": "success",
"data": {
"id": "lic_ghi789",
"sale_id": 156,
"customer_id": 89,
"license_key": "ABC-123-XYZ-789",
"status": "active",
"activated_at": "2025-01-15T10:30:00.000000Z",
"expires_at": "2026-01-15T10:30:00.000000Z",
"expired_at": null,
"revoked_at": null,
"activation_count": 3,
"max_activations": 10,
"activations_remaining": 7,
"is_active": true,
"is_expired": false,
"can_activate": true,
"metadata": null,
"created_at": "2025-01-15T09:00:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"product": {
"id": 42,
"name": "Premium Software License"
}
},
"errors": []
}
Retrieve details of a specific license
curl -X GET "https://api.chariow.com/v1/licenses/ABC-123-XYZ-789" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"message": "success",
"data": {
"id": "lic_ghi789",
"sale_id": 156,
"customer_id": 89,
"license_key": "ABC-123-XYZ-789",
"status": "active",
"activated_at": "2025-01-15T10:30:00.000000Z",
"expires_at": "2026-01-15T10:30:00.000000Z",
"expired_at": null,
"revoked_at": null,
"activation_count": 3,
"max_activations": 10,
"activations_remaining": 7,
"is_active": true,
"is_expired": false,
"can_activate": true,
"metadata": null,
"created_at": "2025-01-15T09:00:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"product": {
"id": 42,
"name": "Premium Software License"
}
},
"errors": []
}
ABC-123-XYZ-789)Show properties
lic_abc123)pending_activation, active, expired, or revokedcurl -X GET "https://api.chariow.com/v1/licenses/ABC-123-XYZ-789" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"message": "success",
"data": {
"id": "lic_ghi789",
"sale_id": 156,
"customer_id": 89,
"license_key": "ABC-123-XYZ-789",
"status": "active",
"activated_at": "2025-01-15T10:30:00.000000Z",
"expires_at": "2026-01-15T10:30:00.000000Z",
"expired_at": null,
"revoked_at": null,
"activation_count": 3,
"max_activations": 10,
"activations_remaining": 7,
"is_active": true,
"is_expired": false,
"can_activate": true,
"metadata": null,
"created_at": "2025-01-15T09:00:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"product": {
"id": 42,
"name": "Premium Software License"
}
},
"errors": []
}
Was this page helpful?