> For the complete documentation index, see [llms.txt](https://docs.silkline.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silkline.ai/configuration/integrations/proshop.md).

# ProShop

Overview of the Silkline ProShop integration, including how to connect and how we synchronize the data

## Connection Requirements

In order for Silkline to integrate with ProShop, we require the following information:

* `clientId`
* `clientSecret`
* `scope`
  * At least the following: `contacts:r customerpo:r formats:r nonconformancereports:r parts:r partsarchive:r purchaseorders:r qualitymanuals:r qualityprocedures:r quotes:r standards:r users:r ots:r tools:r workorders:r`
  * `partsarchive:r` is required for part revision history (ProShop stores prior revisions in the Part Archives module)
  * Silkline takes the bill-to address from the company name and address in ProShop's system settings. If bill-to addresses aren't updating, add the `systemconfig` scope, which has no permission suffix
* `domain`
  * This will come from your ProShop URL: `https://{your_domain}.adionsystems.com`

### Submitting Your Credentials

Once you have obtained your ProShop API credentials:

1. Follow the [Managing Integrations](https://docs.silkline.ai/configuration/integrations/managing-integrations.md) guide to create your ProShop integration in Silkline

## Data Synchronization

Silkline syncs the following data from ProShop:

### Purchase Orders

Purchase Orders and their PO Items, including parts, quantities, pricing, delivery terms, and estimated delivery dates.

### Parts

Part details including part number, description, and revision. ProShop keeps a single part record whose revision advances over time; Silkline creates a **separate part for each revision**, so earlier revisions stay available for purchase orders that were placed against them.

A revision is synced only if ProShop still has it — as a current or historical revision on the part, or as a revision in the Part Archives. If a purchase order references a revision ProShop no longer has, Silkline keeps any part it already synced for that revision and reports a sync error when no such part exists.

{% hint style="info" %}
Silkline syncs up to 1,000 revisions per part. Parts with more than 1,000 revisions are not fully supported.
{% endhint %}

### Contacts

For contacts of type "Vendor", we sync the company name, terms, approval status, and approval notes

### User

Basic user information including name and email

## Detailed Data Mappings

### Purchase Order Mapping

| ProShop Field           | Silkline Field          | Notes                                                                            |
| ----------------------- | ----------------------- | -------------------------------------------------------------------------------- |
| Purchase Order ID       | Order Number            | The main identifier for the purchase order from ProShop.                         |
| Supplier Name           | Supplier                | The supplier for the purchase order, linked to Silkline's records.               |
| PO Date                 | Need Date               | The date by which the items on the purchase order are needed.                    |
| Creation Date           | Created At              | Date and time the purchase order was created in ProShop.                         |
| Last Modified Date      | Updated At              | Date and time the purchase order was last modified in ProShop.                   |
| Creator (User ID)       | Created By User / Buyer | The ProShop user who created the order, linked to a Silkline user.               |
| Order Status            | Order State             | Current status of the purchase order (see below).                                |
| Currency                | Currency                | Currency for the order (defaults to USD if not specified by ProShop).            |
| PO Revision             | Revision                | Revision number of the purchase order.                                           |
| Billing Information     | Payment Terms           | Payment terms specified on the purchase order.                                   |
| Ship Via                | Delivery Mode           | Method of shipment (e.g., Ground, Air).                                          |
| Special Instructions    | Notes                   | General notes or special instructions for the order.                             |
| Ship To Address         | Ship To Address         | Links the order to the location at that address, creating one for a new address. |
| Company Bill To Address | Bill To Address         | Your company's bill-to address, from ProShop's system settings.                  |

#### Purchase Order Status Mapping

| ProShop Order Status | Silkline Order State |
| -------------------- | -------------------- |
| Invoiced             | Closed               |
| Complete             | Closed               |
| Received             | Closed               |
| Canceled             | Canceled             |
| Rejected             | Canceled             |
| Outstanding          | Open                 |
| Partially Released   | Open                 |
| Partially Received   | Open                 |
| Pending              | Review               |
| Inspected            | Review               |
| Released             | Approved             |
| No Status            | Draft                |

### PO Item Mapping

| ProShop Line Item Field           | Silkline Order Item Field | Notes                                                                                                                                                                                                                                                                                       |
| --------------------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Original Sort Position            | Line Number               | Order of items on the purchase order.                                                                                                                                                                                                                                                       |
| Part Number (from OTS/Work Order) | Material                  | Links to the Silkline part matching the part number and the line's revision (see below).                                                                                                                                                                                                    |
| Work Order Part Revision          | Material (revision)       | Selects which revision of the part the line links to, so the line reflects the revision the order was placed against. A line with no work order names no revision of its own and links to the part's current revision. The revision is carried by the linked part, not stamped on the line. |
| Quantity                          | Units                     | Number of units ordered.                                                                                                                                                                                                                                                                    |
| Cost Per                          | Unit Cost                 | Price per unit.                                                                                                                                                                                                                                                                             |
| Description                       | Description               | Text description for the line item                                                                                                                                                                                                                                                          |
| Received Quantity                 | Units Received            | Number of units that have been received.                                                                                                                                                                                                                                                    |
| Actual Due Date                   | Need Date                 | Date the line item is needed by.                                                                                                                                                                                                                                                            |
| Estimated Arrival                 | Expected Delivery Date    | Estimated date the line item will arrive.                                                                                                                                                                                                                                                   |
| Received Date                     | Received At               | Date the line item was actually received.                                                                                                                                                                                                                                                   |

### Order Adjustment Mapping

PO items with an `extraChargeType` are treated as Order Adjustments.

| ProShop Field     | Silkline Order Adjustment Field |
| ----------------- | ------------------------------- |
| Extra Charge Type | Description                     |
| Total             | Amount                          |

### Part Mapping

| ProShop Part Field | Silkline Material Field | Notes                                                                                                                                                                                                                  |
| ------------------ | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Part Name          | Name                    | Uses ProShop Part Name; if not available, uses ProShop Part Number.                                                                                                                                                    |
| Part Number        | Material Number         | The unique identifier for the part in ProShop.                                                                                                                                                                         |
| Part Description   | Description             | The description of the part from ProShop.                                                                                                                                                                              |
| Is Serialized      | Tracking Level          | If the part is serialized in ProShop, it's set to "SERIAL" in Silkline.                                                                                                                                                |
| Created Time       | Created At              | Date and time the part was created in ProShop.                                                                                                                                                                         |
| Last Modified Time | Updated At              | Date and time the part was last modified in ProShop.                                                                                                                                                                   |
| Part Revision      | Revision                | The revision this part represents. Silkline creates one part per revision from ProShop's revision history. A part with no revision history syncs at its current revision, or with no revision when ProShop holds none. |

### Contact Mapping

| ProShop Contact Field                          | Silkline Supplier Field | Notes                                                                                                               |
| ---------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Company Name                                   | Name                    | The name of the supplier company.                                                                                   |
| Notes                                          | Description             | General notes about the supplier, transformed into a rich text format if applicable.                                |
| Created Time                                   | Created At              | Date and time the contact (representing the supplier) was created in ProShop.                                       |
| Last Modified Time                             | Updated At              | Date and time the contact (representing the supplier) was last modified in ProShop.                                 |
| Website Address / Contact Email                | Primary Domain          | The supplier's primary domain, extracted from their website address or contact email.                               |
| Payment Terms                                  | Supplier Terms          | The payment terms agreed upon with the supplier.                                                                    |
| Approved Vendor                                | Approval Status         | Maps ProShop's approval: "Approved" to Silkline's Approved, "Not yet approved" to Restricted.                       |
| Bill To Address / City / State / Zip / Country | Address                 | Address lines, city, state, postal code, and country. A multi-line bill-to address fills address line 1 and line 2. |
| Scope Approval Description                     | Approval Notes          | Notes regarding the supplier's scope of approval, transformed into a rich text format if applicable.                |

### User Mapping

| ProShop User Field | Silkline User Field              | Notes                                                                            |
| ------------------ | -------------------------------- | -------------------------------------------------------------------------------- |
| Email Address      | User Name                        | The user's email, used as their username in Silkline.                            |
| First Name         | First Name                       | The user's first name.                                                           |
| Last Name          | Last Name                        | The user's last name.                                                            |
| Email Address      | Email                            | The user's email address for contact purposes.                                   |
| Phone Number       | Phone Number                     | The user's phone number.                                                         |
| Phone Extension    | Extension (part of Phone Number) | Combined with Phone Number if present (e.g., "555-1234 101").                    |
| Created Time       | Created At                       | Date and time the user was created in ProShop; defaults to current time if null. |
| Last Modified Time | Update At                        | Date and time the user was last modified; defaults to current time if null.      |

## Frequently Asked Questions

### How often does data sync?

We check for changes every 15 minutes for:

* Purchase Orders: on the hour and every 15 minutes after
* Parts: five minutes past the hour and every 15 minutes after

### What happens if there's a conflict between systems?

ProShop is treated as the system of record. In the case of a conflict, ProShop data wil overwrite Silkline data during the next sync.

For this reason, it is important that you do not edit the the ProShop line number for a Purchase Order, especially for Open Purchase Orders. This risks overwriting Silkline-specific data such as workflow phase and estimated delivery dates submitted by suppliers.
