# Fiddle API Documentation

This is the complete API documentation for connecting to the Fiddle API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Fiddle connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/fiddle/actions/{actionSlug}/run
```

## Fiddle actions

- POST `create-customer` Create Customer
- POST `create-purchase-order` Create Purchase Order
- POST `create-supplier` Create Supplier
- GET `find-customer-by-id` Find Customer by ID
- GET `find-purchase-order-by-id` Find Purchase Order by ID
- GET `find-supplier-by-id` Find Supplier by ID
- GET `list-customers` List Customers
- GET `list-inventory-items` List Inventory Items
- GET `list-inventory-locations` List Inventory Locations
- GET `list-inventory-lots` List Inventory Lots
- GET `list-inventory-types` List Inventory Types
- GET `list-measurement-units` List Measurement Units
- GET `list-purchase-orders` List Purchase Orders
- GET `list-quarantined-lots` List Quarantined Lots
- GET `list-sales-order-items` List Sales Order Items
- GET `list-sales-orders` List Sales Orders
- GET `list-suppliers` List Suppliers
- GET `list-work-orders` List Work Orders
- PUT `update-purchase-order` Update Purchase Order
- PUT `update-supplier` Update Supplier
