import os
from channel3_sdk import Channel3
client = Channel3(
api_key=os.environ.get("CHANNEL3_API_KEY"), # This is the default and can be omitted
)
page = client.brands.list()
page = page.items[0]
print(page.id)
Lists all brands, sorted alphabetically.
Supports pagination with the cursor parameter.
GET
/
v0
/
list-brands
Python
import os
from channel3_sdk import Channel3
client = Channel3(
api_key=os.environ.get("CHANNEL3_API_KEY"), # This is the default and can be omitted
)
page = client.brands.list()
page = page.items[0]
print(page.id)