# Order Desk

> Read orders, stock items and store folder IDs for fulfillment reconciliation. Read-only beta integration.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/order-desk

## Actions

### Get store settings

Get store settings using the documented API. Returns the records visible to this API credential.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Order Desk.

**Example output**

```json
{
  "data": {
    "status": "success",
    "store": {
      "folders": {
        "1": "New"
      },
      "id": "1",
      "name": "Example Store"
    }
  }
}
```

### List inventory items

List inventory items using the documented API. Returns one page; use the pagination fields to continue.

**Inputs**

- Limit (`limit`, number): Maximum records to return. At least 1.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Search (`search`, text): Search

**Outputs**

- `data` (object): The response from Order Desk.

**Example output**

```json
{
  "data": {
    "inventory_items": [
      {
        "code": "SKU-1",
        "id": 1,
        "name": "Example Item",
        "stock": 10
      }
    ],
    "records_returned": 1,
    "status": "success",
    "total_records": 1
  }
}
```

### List orders

List orders using the documented API. Returns one page; use the pagination fields to continue.

**Inputs**

- Limit (`limit`, number): Maximum records to return. From 1 to 500.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Folder ID (`folder_id`, text): Folder ID from Get store settings; comma-separated IDs are supported.

**Outputs**

- `data` (object): The response from Order Desk.

**Example output**

```json
{
  "data": {
    "limit": 50,
    "offset": 0,
    "orders": [
      {
        "email": "customer@example.com",
        "id": 1,
        "source_id": "ORDER-1"
      }
    ],
    "records_returned": 1,
    "status": "success",
    "total_records": 1
  }
}
```
