Skip to main content
GET
/
v1
/
shops
Get shops
curl --request GET \
  --url https://api.treet-test.co/v1/shops \
  --header 'X-Treet-Authentication-Key: <api-key>' \
  --header 'X-Treet-Client-Id: <api-key>'
[
  {
    "treetShopName": "Brand Apparel Pre-Loved",
    "countryCodes": [
      "FR",
      "DE"
    ],
    "styles": {
      "primaryButtonBackgroundColor": "#007bff",
      "primaryButtonFontColor": "#ffffff",
      "primaryButtonBorder": "1px solid #007bff"
    },
    "url": "https://brand-eu.treet.co",
    "treetId": "brand"
  }
]

Authorizations

X-Treet-Client-Id
string
header
required
X-Treet-Authentication-Key
string
header
required

Query Parameters

shopIdentifierType
enum<string>
required

The type of shop identifier.

Available options:
SHOPIFY_DOMAIN
shopIdentifier
string
required

The corresponding identifier value (e.g., brandname.myshopify.com if shopIdentifierType is SHOPIFY_DOMAIN)

Response

Shop response

treetShopName
string
required

The Treet shop name for the brand

Example:

"Brand Apparel Pre-Loved"

countryCodes
string[]
required

Array of country codes where the shop operates

Example:
["FR", "DE"]
url
string
required

The canonical root URL of the Treet shop

Example:

"https://brand-eu.treet.co"

treetId
string
required

The internal Treet identifier for the shop

Example:

"brand"

styles
object

Styling configuration for the shop

I