> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MRPeasy

> REST API for MRPeasy, a cloud manufacturing ERP/MRP system for small and mid-sized manufacturers.

REST API for MRPeasy, a cloud manufacturing ERP/MRP system for small and mid-sized manufacturers. Use when an agent needs to read or manage a manufacturer's own production data — manufacturing orders, bills of materials, stock items and inventory levels, customer and purchase orders, vendors, and shipments — inside their MRPeasy account. Unlike generic inventory or accounting APIs, MRPeasy models the full make-to-stock/make-to-order workflow: BOMs, routings, work centers, and production scheduling.

14 example endpoints available through Lava's AI Gateway. See the [MRPeasy API docs](https://mrpeasy.readme.io/reference/mrpeasy-api) for full documentation.

<Warning>This provider requires your own credentials — connect your API key or OAuth account before use.</Warning>

<Info>This is a **catch-all provider** — any valid URL under `https://api.mrpeasy.com/rest/v1` is supported. Any MRPeasy v1 REST endpoint. Construct URL as [https://api.mrpeasy.com/rest/v1/\&#123;path\&#125](https://api.mrpeasy.com/rest/v1/\&#123;path\&#125);. Common roots: manufacturing-orders, customer-orders, customers, items (stock items), stock/inventory, boms, routings, work-centers, purchase-orders, vendors, invoices, shipments, lots, serials, rma, units, product-groups, relations, report/production/\*, report/crm/shipped. Pagination uses the Range request header (e.g. "range: items=0-99"); responses carry a Content-Range header. Default page size is 100, max 1000 — pass a small range (e.g. "range: items=0-9") to keep list responses small. Date fields are Unix timestamps (integers). Multi-value filters use array syntax, e.g. ?status\[]=10\&status\[]=20. Rate limit: 1 concurrent request, max 100 requests per 10s, per user key. Requires the user account to be on the Unlimited plan. The endpoints below are curated examples.</Info>

## Endpoints

### List manufacturing orders (production orders)

**GET** `https://api.mrpeasy.com/rest/v1/manufacturing-orders` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/manufacturing-orders', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fmanufacturing-orders" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get a single manufacturing order by id

**GET** `https://api.mrpeasy.com/rest/v1/manufacturing-orders/{id}` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/manufacturing-orders/{id}', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fmanufacturing-orders%2F%7Bid%7D" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Create a manufacturing order for a product (article\_id), quantity, and responsible user

**POST** `https://api.mrpeasy.com/rest/v1/manufacturing-orders` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/manufacturing-orders', { body: {"article_id":12345,"quantity":100,"assigned_id":678} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fmanufacturing-orders" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"article_id":12345,"quantity":100,"assigned_id":678}'
    ```
  </Tab>
</Tabs>

### Update an existing manufacturing order by id

**PUT** `https://api.mrpeasy.com/rest/v1/manufacturing-orders/{id}` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/manufacturing-orders/{id}', { method: 'PUT', body: {"quantity":150} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X PUT "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fmanufacturing-orders%2F%7Bid%7D" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"quantity":150}'
    ```
  </Tab>
</Tabs>

### Cancel (delete) a manufacturing order by id

**DELETE** `https://api.mrpeasy.com/rest/v1/manufacturing-orders/{id}` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/manufacturing-orders/{id}', { method: 'DELETE' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X DELETE "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fmanufacturing-orders%2F%7Bid%7D" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json"
    ```
  </Tab>
</Tabs>

### List customer (sales) orders

**GET** `https://api.mrpeasy.com/rest/v1/customer-orders` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/customer-orders', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fcustomer-orders" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Create a customer (sales) order for a customer with one or more product lines

**POST** `https://api.mrpeasy.com/rest/v1/customer-orders` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/customer-orders', {
      body: {
    "customer_id": 678,
    "products": [
      {
        "article_id": 12345,
        "quantity": 5
      }
    ]
    },
    });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fcustomer-orders" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"customer_id":678,"products":[{"article_id":12345,"quantity":5}]}'
    ```
  </Tab>
</Tabs>

### List stock items (products and materials)

**GET** `https://api.mrpeasy.com/rest/v1/items` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/items', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fitems" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Create a stock item (a product or a raw material)

**POST** `https://api.mrpeasy.com/rest/v1/items` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/items', {
      body: {
    "title": "Steel bracket 50mm",
    "code": "SB-050",
    "is_raw": false
    },
    });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fitems" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"title":"Steel bracket 50mm","code":"SB-050","is_raw":false}'
    ```
  </Tab>
</Tabs>

### List inventory: on-hand quantities and costs per stock item

**GET** `https://api.mrpeasy.com/rest/v1/stock/inventory` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/stock/inventory', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fstock%2Finventory" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### List bills of materials

**GET** `https://api.mrpeasy.com/rest/v1/boms` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/boms', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fboms" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### List purchase orders (procurement)

**GET** `https://api.mrpeasy.com/rest/v1/purchase-orders` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/purchase-orders', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fpurchase-orders" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### List customers

**GET** `https://api.mrpeasy.com/rest/v1/customers` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/customers', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fcustomers" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Create a customer

**POST** `https://api.mrpeasy.com/rest/v1/customers` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.mrpeasy.com/rest/v1/customers', { body: {"title":"Acme Manufacturing Co","code":"C-1001"} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mrpeasy.com%2Frest%2Fv1%2Fcustomers" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"title":"Acme Manufacturing Co","code":"C-1001"}'
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
