# SendOwl

> Read orders, products, bundles, subscriptions and discounts from your SendOwl store.

App · 15 actions. Web page: https://docs.lodol.com/docs/integrations/sendowl

## Actions

### Get bundle

Get a SendOwl bundle by ID.

**Inputs**

- Bundle ID (`bundle_id`, text, required): Bundle ID.

**Outputs**

- `data` (object): The response from SendOwl.

**Example output**

```json
{
  "data": {
    "package": {
      "created_at": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### Get discount

Get a SendOwl discount by ID.

**Inputs**

- Discount ID (`discount_id`, text, required): Discount ID.

**Outputs**

- `data` (object): The response from SendOwl.

**Example output**

```json
{
  "data": {
    "discount": {
      "created_at": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### Get order

Get a SendOwl order by ID.

**Inputs**

- Order ID (`order_id`, text, required): Order ID.

**Outputs**

- `data` (object): The response from SendOwl.

**Example output**

```json
{
  "data": {
    "order": {
      "created_at": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### Get product

Get a SendOwl product by ID.

**Inputs**

- Product ID (`product_id`, text, required): Product ID.

**Outputs**

- `data` (object): The response from SendOwl.

**Example output**

```json
{
  "data": {
    "product": {
      "created_at": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### Get subscription

Get a SendOwl subscription by ID.

**Inputs**

- Subscription ID (`subscription_id`, text, required): Subscription ID.

**Outputs**

- `data` (object): The response from SendOwl.

**Example output**

```json
{
  "data": {
    "subscription": {
      "created_at": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### List bundles

List SendOwl bundles.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 50.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "package": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### List discount codes

List codes for a SendOwl discount.

**Inputs**

- Discount ID (`discount_id`, text, required): Discount ID.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {}
  ]
}
```

### List discounts

List SendOwl discounts.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 50.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "discount": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### List orders

List SendOwl orders.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 50.
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.
- Updated after (`updated_after`, date and time): Updated after.
- State (`state`, text): State. One of: `initial`, `payment_started` (Payment started), `payment_pending` (Payment pending), `failed`, `gift_pending` (Gift pending), `complete`, `chargeback`, `in_dispute` (In dispute), `free`, `imported`, and 6 more.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "order": {
        "buyer_email": "example",
        "created_at": "example",
        "id": 1,
        "state": "example",
        "updated_at": "example"
      }
    }
  ]
}
```

### List products

List SendOwl products.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 50.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "product": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### List subscriptions

List SendOwl subscriptions.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 50.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "subscription": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### Search bundles

Search SendOwl bundles by name.

**Inputs**

- Term (`term`, text, required): Term.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "package": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### Search orders

Search orders by buyer email.

**Inputs**

- Email (`email`, text, required): Email.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "order": {
        "buyer_email": "example",
        "created_at": "example",
        "id": 1,
        "state": "example",
        "updated_at": "example"
      }
    }
  ]
}
```

### Search products

Search SendOwl products by name.

**Inputs**

- Term (`term`, text, required): Term.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "product": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### Search subscriptions

Search SendOwl subscriptions by name.

**Inputs**

- Term (`term`, text, required): Term.

**Outputs**

- `data` (list): The response from SendOwl.

**Example output**

```json
{
  "data": [
    {
      "subscription": {
        "created_at": "example",
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```
