Skip to Content

Brands

The Brand object

Attributes

  • idstring

    Unique identifier of the object (prefixed, opaque).

  • objectstring

    brand

  • namestring
  • slugstring
  • verticalstring

    What the brand sells: products, software / online services, or a physical establishment.

  • site_urlstringnullable
  • logo_urlstring

    Signed URL, valid 60 minutes.

  • platformstringnullable
  • livemodeboolean

    true for live data, false for the test-mode sandbox.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

The Brand object
{ "id": "br_034CyfRFSXUqzrbzV6MAfZ", "object": "brand", "name": "Nordvelo", "slug": "nordvelo", "vertical": "string", "site_url": "https://nordvelo.fr", "logo_url": "string", "platform": "shopify", "livemode": true, "created": 1790000000 }

Retrieve a brand

GET/v1/brands/{brand}

Parameters

  • brandstringrequired

    Brand id (br_…).

Returns

Returns the brand object. Raises an error if something goes wrong.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "id": "br_034CyfRFSXUqzrbzV6MAfZ", "object": "brand", "name": "Nordvelo", "slug": "nordvelo", "vertical": "string", "site_url": "https://nordvelo.fr", "logo_url": "string", "platform": "shopify", "livemode": true, "created": 1790000000 }

List brands

GET/v1/brands

The brands of the workspace this key can reach — all of them, or the selection made when the key was created. Test keys see the sandbox brands.

Parameters

  • limitinteger

    Number of objects to return, between 1 and 100 (default 20).

  • starting_afterstring

    Cursor: the id of the last object of the previous page.

Returns

A dictionary with a data property holding up to limit brand objects, newest first, and has_more telling whether another page exists. Raises an error if something goes wrong.

curl https://api.skoup.ai/v1/brands?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "object": "list", "url": "/v1/brands", "has_more": false, "data": [ { "id": "br_034CyfRFSXUqzrbzV6MAfZ", "object": "brand", "name": "Nordvelo", "slug": "nordvelo", "vertical": "string", "site_url": "https://nordvelo.fr", "logo_url": "string", "platform": "shopify", "livemode": true, "created": 1790000000 } ] }
Last updated on