Repairs Import API
Use this API to sync repairs between your website and POS system, so that customers can look up repair status on your website.
Authentication
The import/export APIs follow the SiteManager standard authentication format with a query string called authKey. Contact Punchmark to have an authKey created for you.
?authKey={AUTHKEY}
Import Repairs
https://{DOMAIN}/api/async/sitemanager/repairs/import_repairs?authKey={AUTHKEY}
Post Parameters:
replace_all=true|false
repairs=[JSON array of repair data]
[
{
key: "12344",
posCustomerID: "0001",
status: "1" // 1, 2, 3, 4
ctime: "2025-09-04 11:00:27"
}, ...
]
repairs JSON legend:
key: The repair key / ID. Values can be alphanumeric + some special characters
posCustomerID: The ID of this customer in your Point of Sale or CRM
status: The status of the repair or work order
ctime: (optional) The date the repair or work order was created
Format: YYYY-MM-DD HH:mm:ss
Status Values:
1 = in progress
2 = ready to be picked up
3 = picked up
Response
With replace_all=true
{
"success": true,
"message": "Repairs imported successfully. Existing records were deleted."
}
With replace_all=false
{
"success": true,
"message": "Repairs imported successfully."
}
Deleting All Repairs
Use the import repairs endpoint with the following:
POST Body:
replace_all=true&repairs=[]