Putiikkipalvelu Docs

Store Config

Store configuration and settings

Get store configuration

GET
/store-config

Authorization

ApiKeyAuth
x-api-key<token>

API key is automatically provided for demo requests in the playground

In: header

Response Body

application/json

curl -X GET "https://test.putiikkipalvelu.fi/api/storefront/v1/store-config"
{
  "store": {
    "id": "clx123abc",
    "name": "My Store",
    "email": "store@example.com",
    "phone": "+358401234567",
    "address": "Kauppakatu 1",
    "city": "Helsinki",
    "postalCode": "00100",
    "country": "FI",
    "currency": "EUR",
    "currencySymbol": "€",
    "defaultVatRate": 25.5,
    "businessId": "1234567-8",
    "logoUrl": "http://example.com"
  },
  "seo": {
    "seoTitle": "My Store - Quality Products",
    "seoDescription": "Shop quality products at My Store",
    "domain": "https://mystore.com",
    "openGraphImageUrl": "http://example.com",
    "twitterImageUrl": "http://example.com",
    "instagramUrl": "http://example.com",
    "facebookUrl": "http://example.com",
    "priceRange": "€€",
    "businessType": "Verkkokauppa"
  },
  "payments": {
    "methods": [
      "stripe",
      "paytrail"
    ],
    "defaultVatRate": 25.5
  },
  "campaigns": [
    {
      "id": "string",
      "storeId": "string",
      "name": "Summer Sale",
      "description": "string",
      "type": "BUY_X_PAY_Y",
      "startDate": "2019-08-24T14:15:22Z",
      "endDate": "2019-08-24T14:15:22Z",
      "isActive": true,
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "BuyXPayYCampaign": {
        "id": "string",
        "campaignId": "string",
        "buyQuantity": 3,
        "payQuantity": 2,
        "applicableCategories": [
          {
            "id": "string",
            "name": "string",
            "slug": "string",
            "parentId": "string"
          }
        ]
      }
    }
  ],
  "features": {
    "wishlistEnabled": true,
    "guestCheckoutEnabled": true,
    "newsletterEnabled": true,
    "reviewsEnabled": false
  }
}
Empty
Empty