# Hotmart

> Read Hotmart sales, products and subscriptions.

App · 7 actions. Web page: https://docs.lodol.com/docs/integrations/hotmart

## Actions

### List products

List products you created in Hotmart.

**Inputs**

- Max results (`max_results`, number): Number of products per page. From 1 to 50.
- Page token (`page_token`, text): Next page token from the previous result.
- Product ID (`product_id`, number): ID of the product to look up. At least 1.
- Status (`status`, text): Filter by product status. One of: `DRAFT`, `ACTIVE`, `PAUSED`, `NOT_APPROVED` (Not approved), `IN_REVIEW` (In review), `DELETED`, `CHANGES_PENDING_ON_PRODUCT` (Changes pending on product).
- Format (`format`, text): Filter by product format. One of: `EBOOK`, `SOFTWARE`, `MOBILE_APPS` (Mobile apps), `VIDEOS`, `AUDIOS`, `TEMPLATES`, `IMAGES`, `ONLINE_COURSE` (Online course), `SERIAL_CODES` (Serial codes), `ETICKET`, and 5 more.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": 1,
        "id": 1,
        "is_subscription": true,
        "name": "example",
        "status": "example"
      }
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example"
    }
  }
}
```

### List sale commissions

List sale commissions.

**Inputs**

- Max results (`max_results`, number): Number of records per page. From 1 to 500.
- Page token (`page_token`, text): Next page token from the previous result.
- Transaction (`transaction`, text): Hotmart transaction code, such as HP12345.
- Product (`product_id`, number): Choose a product or enter its ID. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {}
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example",
      "results_per_page": 1,
      "total_results": 1
    }
  }
}
```

### List sale participants

List sale participants.

**Inputs**

- Max results (`max_results`, number): Number of records per page. From 1 to 500.
- Page token (`page_token`, text): Next page token from the previous result.
- Transaction (`transaction`, text): Hotmart transaction code, such as HP12345.
- Product (`product_id`, number): Choose a product or enter its ID. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {}
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example",
      "results_per_page": 1,
      "total_results": 1
    }
  }
}
```

### List sale price details

List sale price details.

**Inputs**

- Max results (`max_results`, number): Number of records per page. From 1 to 500.
- Page token (`page_token`, text): Next page token from the previous result.
- Transaction (`transaction`, text): Hotmart transaction code, such as HP12345.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {}
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example",
      "results_per_page": 1,
      "total_results": 1
    }
  }
}
```

### List sales history

List sales history.

**Inputs**

- Max results (`max_results`, number): Number of records per page. From 1 to 500.
- Page token (`page_token`, text): Next page token from the previous result.
- Start time (`start_time`, date and time): Earliest transaction time.
- End time (`end_time`, date and time): Latest transaction time.
- Product (`product_id`, number): Choose a product or enter its ID. At least 1.
- Transaction (`transaction`, text): Hotmart transaction code, such as HP12345.
- Transaction status (`transaction_status`, text): Filter by a transaction status. One of: `APPROVED`, `COMPLETE`, `REFUNDED`, `CHARGEBACK`, `CANCELLED`, `BILLET_PRINTED` (Billet printed), `WAITING_PAYMENT` (Waiting payment), `OVERDUE`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {}
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example",
      "results_per_page": 1,
      "total_results": 1
    }
  }
}
```

### List subscription summaries

List subscription summaries.

**Inputs**

- Max results (`max_results`, number): Number of records per page. From 1 to 500.
- Page token (`page_token`, text): Next page token from the previous result.
- Product (`product_id`, number): Choose a product or enter its ID. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {}
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example",
      "results_per_page": 1,
      "total_results": 1
    }
  }
}
```

### List subscriptions

List subscriptions.

**Inputs**

- Max results (`max_results`, number): Number of records per page. From 1 to 500.
- Page token (`page_token`, text): Next page token from the previous result.
- Product (`product_id`, number): Choose a product or enter its ID. At least 1.
- Subscriber code (`subscriber_code`, text): Subscriber code from Hotmart.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {}
    ],
    "page_info": {
      "next_page_token": "example",
      "prev_page_token": "example",
      "results_per_page": 1,
      "total_results": 1
    }
  }
}
```
