QUANTM7 Docs
Headless APIAPI Reference

Store

Fetch store information, social links, and published policies.

Get store info

Returns your store's public profile, business address, social media links, and a list of published policies. Use this to populate your footer, contact page, and legal links.

GET /v1/store

Auth: Publishable or secret key

Response

{
  "data": {
    "public_id": "01J5XYZ...",
    "name": "My Store",
    "slug": "my-store",
    "description": "Handmade jewellery and accessories",
    "logo_url": "https://cdn.quantm7.com/my-store/logo.webp",
    "contact_email": "hello@mystore.com",
    "phone": "+44 7700 900000",
    "currency": "GBP",
    "address_line1": "123 High Street",
    "address_line2": "Unit 4",
    "address_city": "London",
    "address_state": "Greater London",
    "address_postal_code": "SW1A 1AA",
    "address_country": "GB",
    "unit_system": "metric",
    "weight_unit": "kg",
    "timezone": "Europe/London",
    "status": "active",
    "social": {
      "instagram": "https://instagram.com/mystore",
      "facebook": "https://facebook.com/mystore",
      "tiktok": "https://tiktok.com/@mystore"
    },
    "policies": [
      { "title": "Privacy Policy", "handle": "privacy-policy", "policy_type": "privacy" },
      { "title": "Returns Policy", "handle": "returns-policy", "policy_type": "returns" },
      { "title": "Shipping Policy", "handle": "shipping-policy", "policy_type": "shipping" }
    ]
  }
}

Store fields

FieldTypeDescription
public_idstringPublic UUID
namestringStore display name
slugstringURL-safe store identifier
descriptionstring or nullStore description
logo_urlstring or nullFull URL to the store logo
contact_emailstring or nullPublic contact email
phonestring or nullContact phone number
currencystringDefault currency code (ISO 4217, e.g. GBP, USD, EUR)
address_line1string or nullStreet address line 1
address_line2string or nullStreet address line 2
address_citystring or nullCity
address_statestring or nullState, province, or region
address_postal_codestring or nullPostal or ZIP code
address_countrystring or nullCountry code (ISO 3166-1 alpha-2)
unit_systemstring or nullMeasurement system (metric or imperial)
weight_unitstring or nullDefault weight unit (kg, lb, g, oz)
timezonestring or nullIANA timezone identifier
statusstringStore status (active, coming_soon, maintenance)

The social field is an object with platform names as keys. Only platforms with a configured URL are included. If no social links are set, social is null.

KeyPlatform
instagramInstagram
facebookFacebook
twitterX / Twitter
tiktokTikTok
youtubeYouTube
pinterestPinterest
whatsappWhatsApp

Policies

The policies array lists all published store policies. Each entry has a title, handle, and policy_type. Use the handle to link to the full policy content via GET /v1/policies/{handle}.

Policy typeDescription
privacyPrivacy policy
returnsReturns and refunds
shippingShipping policy
termsTerms and conditions
customCustom policy

Example

const res = await fetch('https://api.quantm7.com/v1/store', {
  headers: { 'Authorization': `Bearer ${import.meta.env.Q7_PUBLISHABLE_KEY}` }
})

const { data: store } = await res.json()

console.log(store.name)     // "My Store"
console.log(store.currency) // "GBP"
console.log(store.social?.instagram) // "https://instagram.com/mystore"

On this page