---
title: Repairs Import API
description: 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…
---

[Skip to content](https://help.punchmark.com/knowledgebase/wiki/spaces/punchmark/pages/2384330769#main-content)

English

Show submenu for translations

[![punchmark-logo-horizontal-white](https://help.punchmark.com/hs-fs/hubfs/Punchmark%20Branding/punchmark-logo-horizontal-white.png?width=225&height=38&name=punchmark-logo-horizontal-white.png)](https://academy.punchmark.com/knowledge?hsLang=en)

- [Website](https://www.punchmark.com/)
- [News](https://www.punchmark.com/news)
- [Support](https://www.punchmark.com/contact-support)
- [In the Loupe](https://www.punchmark.com/loupe)

Open main navigation

Close main navigation

- [Website](https://www.punchmark.com/)
- [News](https://www.punchmark.com/news)
- [Support](https://www.punchmark.com/contact-support)
- [In the Loupe](https://www.punchmark.com/loupe)
- English
  
  Show submenu for translations
- Go to punchmark.com

 Go to punchmark.com

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Punchmark Knowledge Base](https://help.punchmark.com/knowledgebase?hsLang=en)
2. [Data & APIs](https://help.punchmark.com/knowledgebase/data-apis?hsLang=en)
3. [APIs](https://help.punchmark.com/knowledgebase/data-apis?hsLang=en#apis)

# 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=[]`

- [Default HubSpot Blog](https://blog.punchmark.com/blog)

[![pm-symbol-blue](https://help.punchmark.com/hs-fs/hubfs/Punchmark%20Branding/pm-symbol-blue.png?width=40&height=45&name=pm-symbol-blue.png "pm-symbol-blue")](https://academy.punchmark.com/knowledge?hsLang=en)

Punchmark Resource Center

<https://www.facebook.com/punchmark> <https://www.instagram.com/punchmarkwebsites/> <https://open.spotify.com/show/1IBgfY1m1GIDkkF5N8Dn8F?go=1&sp_cid=0869f391274eb7a313244a8b2a29e059&utm_source=embed_player_p&utm_medium=desktop&nd=1&dlsi=44933130a20a4bcc>

Copyright © 2026, Punchmark