> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://partner.docs.trychannel3.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://partner.docs.trychannel3.com/_mcp/server.

# List merchants

GET https://partners.trychannel3.com/v0/partner/merchants

Paginated list of merchants this partner manages.

Reference: https://partner.docs.trychannel3.com/api-overview/listpartnermerchants

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Channel3 Partner Program API
  version: 1.0.0
paths:
  /v0/partner/merchants:
    get:
      operationId: listpartnermerchants
      summary: List merchants
      description: Paginated list of merchants this partner manages.
      tags:
        - subpackage_partner
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - name: size
          in: query
          required: false
          schema:
            type: integer
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerMerchantsPage'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
servers:
  - url: https://partners.trychannel3.com
    description: Production
components:
  schemas:
    PartnerMerchant:
      type: object
      properties:
        customer_id:
          type: string
          description: Channel3 customer id for this merchant
        name:
          type:
            - string
            - 'null'
        logo_url:
          type:
            - string
            - 'null'
      required:
        - customer_id
      title: PartnerMerchant
    PartnerMerchantsPage:
      type: object
      properties:
        merchants:
          type: array
          items:
            $ref: '#/components/schemas/PartnerMerchant'
        page:
          type: integer
        size:
          type: integer
        total:
          type: integer
      required:
        - merchants
        - page
        - size
        - total
      title: PartnerMerchantsPage
    ErrorResponseDetail:
      oneOf:
        - type: string
        - type: array
          items:
            type: object
            additionalProperties:
              description: Any type
      title: ErrorResponseDetail
    ErrorResponse:
      type: object
      properties:
        detail:
          $ref: '#/components/schemas/ErrorResponseDetail'
      required:
        - detail
      title: ErrorResponse
  securitySchemes:
    APIKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

```

## Examples



**Request**

```json
{}
```

**Response**

```json
{
  "merchants": [
    {
      "customer_id": "c3m-9876543210",
      "name": "GreenLeaf Organics",
      "logo_url": "https://cdn.trychannel3.com/logos/greenleaf_organics.png"
    }
  ],
  "page": 1,
  "size": 1,
  "total": 25
}
```

**SDK Code**

```python
import requests

url = "https://partners.trychannel3.com/v0/partner/merchants"

payload = {}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://partners.trychannel3.com/v0/partner/merchants';
const options = {
  method: 'GET',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://partners.trychannel3.com/v0/partner/merchants"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://partners.trychannel3.com/v0/partner/merchants")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://partners.trychannel3.com/v0/partner/merchants")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://partners.trychannel3.com/v0/partner/merchants', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://partners.trychannel3.com/v0/partner/merchants");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://partners.trychannel3.com/v0/partner/merchants")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```