EZCart Docs
Api

Store Storefront Config_get Storefront Config

Get storefront branding configuration for the shop identified by the publishable key.

Always returns a config object — never 404. If no StorefrontConfig record exists yet, defaults are derived from the shop's name (brandName) with neutral visual defaults (primaryColorHex: #3b82f6, all optional fields null/empty).

Use ?shopId= to disambiguate when the publishable key has access to multiple shops. Defaults to the first shop in the key's scope.

GET
/v1/store/storefront-config

Query Parameters

shopId?string

Response Body

application/json

curl -X GET "https://loading/v1/store/storefront-config"
{
  "brandName": "string",
  "contactEmail": "string",
  "contactPhone": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "faviconUrl": "string",
  "id": "string",
  "logoUrl": "string",
  "primaryColorHex": "string",
  "shopId": "string",
  "socials": {
    "facebook": "string",
    "instagram": "string",
    "tiktok": "string",
    "twitter": "string",
    "youtube": "string"
  },
  "tagline": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}