LogoLogo
CommunitySupport PortalYouTubeStart a free trial
  • Welcome
  • Commerce Engine
  • Orchestration Engine
  • API Documentation
  • Release Notes
  • Changelog
  • Emporix API
  • OpenAPI Generator
  • Standard Practices
    • General Info
    • Mixins
    • Query Parameter
    • Translations
    • Custom ID
    • Upsert
    • B2B Token
  • API Guides and References
    • Authorization
      • OAuth Service
        • API Reference
          • Customer Token
          • Anonymous Token
          • Service Access Token
          • Models
        • Download API Specification
    • Artificial Intelligence
      • AI Service
        • AI Tutorials
        • API Reference
          • Text Generation
          • AI Completions
          • Models
        • Download API Specification
    • Configuration
      • Configuration Service
        • Language Tutorials
        • API Reference
          • Tenant configurations
          • Client configurations
          • Global configurations
          • Models
        • Download API Specification
      • Country Service
        • Country Tutorial
        • API Reference
          • Countries
          • Regions
          • Models
        • Download API Specification
      • Currency Service
        • Currency Tutorial
        • API Reference
          • Currencies
          • Currency exchange
          • Models
        • Download API Specification
      • Unit Handling Service
        • Unit Handling Tutorial
        • API Reference
          • Unit management
          • Unit conversion
          • Type management
          • Models
        • Download API Specification
      • Site Settings Service
        • Site Settings Tutorial
        • API Reference
          • Mixins
          • Site settings
          • Models
        • Download API Specification
      • Indexing Service
        • Indexing Tutorial
        • API Reference
          • Configuration
          • Public Configuration
          • Reindex
          • Models
        • Download API Specification
    • Catalogs and Categories
      • Catalog Service
        • Catalog Tutorials
        • API Reference
          • List catalogs
          • Catalog management
          • Models
        • Download API Specification
      • Category Service
        • Category Tutorials
        • API Reference
          • Category Resources
          • Category Assignment Resources
          • Assignment Resources
          • Category Tree Resources
          • Models
        • Download API Specification
    • Products, Labels and Brands
      • Product Service
        • Product Tutorial
        • API Reference
          • Products
          • Product Templates
          • Models
        • Download API Specification
      • Label Service
        • Label Tutorial
        • API Reference
          • Label
          • Media
          • Models
        • Download API Specification
      • Brand Service
        • Brand Tutorial
        • API Reference
          • Brands
          • Media
          • Models
        • Download API Specification
    • Prices and Taxes
      • Price Service
        • Price Tutorials
        • API Reference
          • Price lists
          • Price matching
          • Price models
          • Prices
          • Prices assigned to price lists
          • Models
        • Download API Specification
      • Tax Service
        • Tax Tutorials
        • API Reference
          • Taxes
          • Tax calculation
          • Models
        • Download API Specification
    • Users and Permissions
      • IAM Service
        • IAM Tutorial
        • API Reference
          • Access Controls
          • Group Assignments
          • Groups
          • Permissions
          • Resources
          • Roles
          • Access Control Templates
          • Users
          • Management Dashboard Users
          • Models
        • Download API Specification
      • Session-context Service
        • Session-context Tutorial
        • API Reference
          • Session management
          • Session context modification
          • Own session management
          • Own session context modification
          • Models
        • Download API Specification
    • Companies and Customers
      • Customer Management
        • Customer Management Tutorial
        • API Reference
          • Locations
          • Contact Assignments
          • Legal Entities
          • Models
        • Download API Specification
      • Customer Service (Customer Managed)
        • API Reference
          • Addresses
          • Account and profile
          • Authentication and authorization
          • Double opt In
          • Credentials
          • Models
        • Download API Specification
      • Customer Service (Tenant Managed)
        • API Reference
          • Account and profile
          • Addresses
          • Models
        • Download API Specification
      • Customer Segments
        • Segments Tutorial
        • API Reference
          • Segments
          • Items Assignments
          • Customers Assignments
          • Models
        • Download API Specification
      • Approval Service
        • Approval Tutorials
        • API Reference
          • Approvals
          • Approval
          • Search
          • Models
        • Download API Specification
    • Delivery and Shipping
      • Shipping Service
        • Shipping Tutorial
        • API Reference
          • Customer Group Relations
          • Delivery Windows
          • Shipping Cost
          • Shipping Zones
          • Shipping Methods
          • Shipping Groups
          • Sites
          • Delivery Times Management
          • Delivery Times Slots Management
          • Delivery Cycles
          • Models
        • Download API Specification
      • Delivery Providers Service
        • API Reference
          • Delivery Orders
          • Delivery Plan
          • Models
        • Download API Specification
    • Rewards and Promotions
      • Coupon Service
        • Coupon Tutorial
        • API Reference
          • Coupon Management
          • Coupon Validation
          • Coupon Redemption
          • Referral Coupon Management
          • Models
        • Download API Specification
      • Reward-points Service
        • Reward-points Tutorial
        • API Reference
          • Redeem Options Management
          • Reward Points Management
          • Signed In Customer Reward Points
          • Models
        • Download API Specification
    • Quotes
      • Quote Service
        • Quote Tutorial
        • API Reference
          • Quote management
          • Quote history
          • Quote pdf
          • Quote reason
          • Models
        • Download API Specification
    • Checkout
      • Cart Service
        • Cart Tutorial
        • API Reference
          • Carts
          • Cart items
          • Discounts
          • Models
        • Download API Specification
      • Payment-gateway Service
        • Payment-gateway Tutorial
        • API Reference
          • Payment
          • Payment mode
          • Payment frontend
          • Payment mode frontend
          • Transaction
          • Models
        • Download API Specification
      • Checkout Service
        • Checkout Tutorial
        • API Reference
          • Checkouts
          • Models
        • Download API Specification
      • Fee Service
        • Fee Tutorial
        • API Reference
          • Fee management
          • Item Fee management
          • Product Fees management
          • Item Fee search
          • Models
        • Download API Specification
      • Shopping List
        • API Reference
          • Shopping Lists
          • Models
        • Download API Specification
    • Orders
      • Availability Service
        • Availability Tutorial
        • API Reference
          • Locations
          • Availabilities
          • Models
        • Download API Specification
      • Order Service
        • Order Tutorial
        • API Reference
          • Orders (tenant Managed)
          • Orders (customer Managed)
          • Models
        • Download API Specification
      • Pick-pack Service
        • API Reference
          • Orders
          • Order cycles
          • Assignees
          • Recalculations
          • Events
          • Models
        • Download API Specification
      • Invoice Service
        • Invoice Tutorial
        • API Reference
          • Invoice Jobs
          • Models
        • Download API Specification
      • Returns Service
        • Returns Tutorial
        • API Reference
          • Returns
          • Models
        • Download API Specification
      • SEPA Export Service
        • API Reference
          • Files
          • Jobs
          • Models
        • Download API Specification
    • Utilities
      • Schema Service
        • Schema Tutorial
        • API Reference
          • Schema
          • Type
          • Reference
          • Custom Schema Type
          • Custom Instance
          • Models
        • Download API Specification
      • Sequential-id Service
        • Sequential-id Tutorial
        • API Reference
          • Sequential IDs management
          • Models
        • Download API Specification
    • Media
      • Media Service
        • Media Tutorial
        • API Reference
          • Assets
          • Models
        • Download API Specification
    • Webhooks
      • Webhook Service
        • Webhooks Tutorial
        • API Reference
          • Config
          • Events
          • Svix Emporix Shared Account
          • Models
        • Download API Specification
      • Events-Availability
      • Events-Cart
      • Events-Catalog
      • Events-Category
      • Events-Client Management
      • Events-Customer
      • Events-Index
      • Events-Order
      • Events-Price
      • Events-Product
      • Events-Quote
      • Events-Product
    • Integrations
      • Emporix and Make
      • Identity Providers
      • Workflow Automation
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API Guides and References
  2. Configuration
  3. Site Settings Service
  4. API Reference

Site settings

PreviousMixinsNextModels

Was this helpful?

LogoLogo

Resources

  • Emporix.com
  • Developer Policy
  • Terms of Use

Find us

  • LinkedIn

© 2025 Emporix. All Rights Reserved.

Retrieving a site

get

Retrieves a specified site's configuration.


Required scopes

  • site.site_manage

    Note: The site.site_manage scope is only required if you want to retrieve an inactive site.

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

siteCodestringRequired

Site code, defined when a site is created.

Query parameters
expandstringOptional

Used to expand the following site settings:

  • payment
  • shipping
  • tax
  • mixin

Each of the settings (except mixin) can be set to one of the following values:

  • all
  • active
  • none

For retrieving mixin, use the following value:

  • *
Example: payment:all,shipping:active,tax:none,mixin:*
Responses
200
Example response
application/json
400Error
application/json
401Error
application/json
403Error
application/json
404Error
application/json
500
Internal Server Error
application/json
get
GET /site/{tenant}/sites/{siteCode} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "code": "test2",
  "name": "postmanTestSiteName",
  "active": false,
  "defaultLanguage": "en",
  "languages": [
    "en"
  ],
  "currency": "GBP",
  "homeBase": {
    "address": {
      "zipCode": "12345",
      "country": "GB"
    }
  },
  "shipToCountries": [
    "GB"
  ],
  "metadata": {
    "mixins": {},
    "version": 0
  },
  "default": true
}

Deleting a site

delete

Deletes a specified site.

Important: You cannot delete a site whose default property is set to true.


Required scopes

  • site.site_manage

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

siteCodestringRequired

Site code, defined when a site is created.

Responses
204
The request was successful. The site has been deleted.
400Error
application/json
401Error
application/json
403Error
application/json
404Error
application/json
500
Internal Server Error
delete
DELETE /site/{tenant}/sites/{siteCode} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*

No content

Retrieving site codes

get

Retrieves a list of site codes.


Required scopes

  • site.site_read

  • site.site_manage

    Note: The site.site_manage scope is only required if you want to retrieve inactive sites.

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

Query parameters
includeInactivebooleanOptional
Option Description
true Retrieves both the active and inactive sites.
false Retrieves only the active sites.
Default: false
pageNumberinteger · min: 1Optional

Page number to be retrieved. The number of the first page is 1.

Note: If the pageNumber parameter is passed, size of the pages must be specified in the pageSize parameter.

Default: 1
pageSizeinteger · min: 1Optional

Number of products to be retrieved per page.

Default: 16
sortstringOptional

List of properties used to sort the results, separated by colons.

Possible values:

  • {fieldName}
  • {fieldName}:asc
  • {fieldName}:desc

Note: If you want to sort the results by localized properties, the possible values are:

  • {fieldName}.{language}
  • {fieldName}.{language}:asc
  • {fieldName}.{language}:desc

By default, the fields are sorted in ascending order.

qstringOptional

A standard query parameter used to search for specific values.

Example: name:{productName}
totalCountbooleanOptional

If set to true, a total number of sites is returned in a response header.

Default: false
expandstringOptional

Used to expand specific site settings.

Setting Possible values
payment shipping tax all active none
mixins {mixinName} *
Example: payment:all,shipping:active,tax:none,mixin:customerSettings
Responses
200
OK
application/json
Responsestring[]
400Error
application/json
401Error
application/json
403Error
application/json
get
GET /site/{tenant}/siteslist HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  "UK",
  "FR",
  "main",
  "DE",
  "US"
]
  • GETRetrieving sites
  • POSTCreating a site
  • GETRetrieving a site
  • PUTFully updating a site
  • DELETEDeleting a site
  • PATCHPartially updating a site
  • GETRetrieving site codes

Retrieving sites

get

Retrieves a list of site configurations.


Required scopes

  • site.site_manage

    Note: The site.site_manage scope is only required if you want to retrieve inactive sites.

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

Query parameters
totalCountbooleanOptional

If set to true, a total number of sites is returned in a response header.

Default: false
includeInactivebooleanOptional
Option Description
true Retrieves both the active and inactive sites.
false Retrieves only the active sites.
Default: false
sortstringOptional

List of properties used to sort the results, separated by colons.

Possible values:

  • {fieldName}
  • {fieldName}:asc
  • {fieldName}:desc

Note: If you want to sort the results by localized properties, the possible values are:

  • {fieldName}.{language}
  • {fieldName}.{language}:asc
  • {fieldName}.{language}:desc

By default, the fields are sorted in ascending order.

pageNumberinteger · min: 1Optional

Page number to be retrieved. The number of the first page is 1.

Note: If the pageNumber parameter is passed, size of the pages must be specified in the pageSize parameter.

Default: 1
pageSizeinteger · min: 1Optional

Number of products to be retrieved per page.

Default: 16
qstringOptional

A standard query parameter used to search for specific values.

Example: name:{productName}
expandstringOptional

Used to expand the following site settings:

  • payment
  • shipping
  • tax
  • mixin

Each of the settings (except mixin) can be set to one of the following values:

  • all
  • active
  • none

For retrieving mixin, use the following value:

  • *
Example: payment:all,shipping:active,tax:none,mixin:*
Responses
200
OK
application/json
400Error
application/json
401Error
application/json
403Error
application/json
get
GET /site/{tenant}/sites HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "code": "main",
    "name": "United States",
    "active": true,
    "defaultLanguage": "en",
    "languages": [
      "ar",
      "en",
      "fr",
      "de"
    ],
    "currency": "USD",
    "availableCurrencies": [
      "EUR",
      "GBP",
      "USD",
      "THB",
      "RUB",
      "SAR"
    ],
    "homeBase": {
      "address": {
        "street": "Broadway",
        "streetNumber": "1500",
        "zipCode": "10036",
        "city": "New York",
        "country": "US",
        "state": "NY"
      },
      "location": {
        "latitude": 40.7568658044745,
        "longitude": -73.9858713458565
      }
    },
    "shipToCountries": [
      "US"
    ],
    "assistedBuying": {
      "storefrontUrl": ""
    },
    "metadata": {
      "mixins": {
        "productSettings": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/productSettingsSiteMixIn.v1",
        "generalShopSettings": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/generalShopSettingsSiteMixIn.v10",
        "customerSettings": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/customerSettingsSiteMixIn.v3",
        "orderProcessSettings": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/orderProcessSettingsSiteMixIn.v7",
        "couponSettings": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/couponSettingsSiteMixIn.v4",
        "feeService": "https://res.cloudinary.com/saas-ag/raw/upload/schemata/CAAS/siteFeeService.json",
        "imageSize": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/imageSize.v6",
        "merchantInfo": "https://res.cloudinary.com/saas-ag/raw/upload/hybris_schema/merchantAddressMixin.v10"
      },
      "version": 14
    },
    "default": true
  }
]

Creating a site

post

Creates a new site configuration.


Required scopes

  • site.site_manage

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

Body

Information about the site.

codestringOptional

Site's unique identifier.

namestringOptional

Site name.

activebooleanOptional

Flag indicating whether the site is active.

defaultbooleanOptional

Flag indicating whether the site is the tenant's default site.

includesTaxbooleanOptional

Indicates whether prices for the site should be returned in gross (when includesTax=true) or net (when includesTax=false).

defaultLanguagestring · min: 2 · max: 2Optional

Site's default language, compliant with the ISO 639-1 standard.

Pattern: ^[a-z]{2}
languagesstring[]Optional

Languages supported by the site.

Note: The languages must be compliant with the ISO 639-1 standard.

currencystring · min: 3 · max: 3Optional

Currency used by the site, compliant with the ISO 4217 standard.

Pattern: ^[A-Z]{3}
availableCurrenciesstring[]Optional

List of the currencies supported by the site

shipToCountriesstring[]Optional

Codes of countries to which the site ships products.

Note: The country codes must be compliant with the ISO 3166-1 alpha-2 standard.

taxDeterminationBasedOnstring · enumOptional

Specifies whether tax calculation is based on customer billing address or shipping address. Default value is BILLING_ADDRESS.

Possible values:
cartCalculationScaleintegerOptional

Number of decimal points used in the cart calculation. Must be zero or a positive value.

Default: 2
Responses
201
Created
application/json
400Error
application/json
401Error
application/json
403Error
application/json
post
POST /site/{tenant}/sites HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 244

{
  "code": "test2",
  "name": "postmanTestSiteName",
  "active": false,
  "default": false,
  "defaultLanguage": "en",
  "languages": [
    "en"
  ],
  "currency": "GBP",
  "homeBase": {
    "address": {
      "country": "GB",
      "zipCode": "12345"
    }
  },
  "shipToCountries": [
    "GB"
  ],
  "mixins": {},
  "metadata": {}
}
{
  "Response example": {
    "value": {
      "id": "test"
    }
  }
}

Fully updating a site

put

Fully updates a specified site's configuration.

You can also use this endpoint to update the configuration of the following services:

  • payment

  • shipping

  • tax

Note: To update an inactive service configuration, you need to use the expand query parameter.


Required scopes

  • site.site_manage

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

siteCodestringRequired

Site code, defined when a site is created.

Query parameters
expandstringOptional

Used to expand the following site settings:

  • payment
  • shipping
  • tax
  • mixin

Each of the settings (except mixin) can be set to one of the following values:

  • all
  • active
  • none

For retrieving mixin, use the following value:

  • *
Example: payment:all,shipping:active,tax:none,mixin:*
Body

Information about the site.

codestringOptional

Site's unique identifier.

namestringOptional

Site name.

activebooleanOptional

Flag indicating whether the site is active.

defaultbooleanOptional

Flag indicating whether the site is the tenant's default site.

includesTaxbooleanOptional

Indicates whether prices for the site should be returned in gross (when includesTax=true) or net (when includesTax=false).

defaultLanguagestring · min: 2 · max: 2Optional

Site's default language, compliant with the ISO 639-1 standard.

Pattern: ^[a-z]{2}
languagesstring[]Optional

Languages supported by the site.

Note: The languages must be compliant with the ISO 639-1 standard.

currencystring · min: 3 · max: 3Optional

Currency used by the site, compliant with the ISO 4217 standard.

Pattern: ^[A-Z]{3}
availableCurrenciesstring[]Optional

List of the currencies supported by the site

shipToCountriesstring[]Optional

Codes of countries to which the site ships products.

Note: The country codes must be compliant with the ISO 3166-1 alpha-2 standard.

taxDeterminationBasedOnstring · enumOptional

Specifies whether tax calculation is based on customer billing address or shipping address. Default value is BILLING_ADDRESS.

Possible values:
cartCalculationScaleintegerOptional

Number of decimal points used in the cart calculation. Must be zero or a positive value.

Default: 2
Responses
200
The request was successful. The services configuration has been updated.
400Error
application/json
401Error
application/json
403Error
application/json
404Error
application/json
409
Conflict
500
Internal Server Error
put
PUT /site/{tenant}/sites/{siteCode} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 218

{
  "name": "test",
  "active": true,
  "default": false,
  "defaultLanguage": "de",
  "languages": [
    "en",
    "de"
  ],
  "currency": "EUR",
  "homeBase": {
    "address": {
      "country": "GB",
      "zipCode": "12345"
    }
  },
  "shipToCountries": [
    "GB"
  ],
  "mixins": {},
  "metadata": {}
}

No content

Partially updating a site

patch

Partially updates a specified site's configuration.

Required scopes

  • site.site_manage

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

siteCodestringRequired

Site code, defined when a site is created.

Body

Information about the site.

codestringOptional

Site's unique identifier.

namestringOptional

Site name.

activebooleanOptional

Flag indicating whether the site is active.

defaultbooleanOptional

Flag indicating whether the site is the tenant's default site.

includesTaxbooleanOptional

Indicates whether prices for the site should be returned in gross (when includesTax=true) or net (when includesTax=false).

defaultLanguagestring · min: 2 · max: 2Optional

Site's default language, compliant with the ISO 639-1 standard.

Pattern: ^[a-z]{2}
languagesstring[]Optional

Languages supported by the site.

Note: The languages must be compliant with the ISO 639-1 standard.

currencystring · min: 3 · max: 3Optional

Currency used by the site, compliant with the ISO 4217 standard.

Pattern: ^[A-Z]{3}
availableCurrenciesstring[]Optional

List of the currencies supported by the site

shipToCountriesstring[]Optional

Codes of countries to which the site ships products.

Note: The country codes must be compliant with the ISO 3166-1 alpha-2 standard.

taxDeterminationBasedOnstring · enumOptional

Specifies whether tax calculation is based on customer billing address or shipping address. Default value is BILLING_ADDRESS.

Possible values:
cartCalculationScaleintegerOptional

Number of decimal points used in the cart calculation. Must be zero or a positive value.

Default: 2
Responses
200
The request was successful. The site has been updated.
400Error
application/json
401Error
application/json
403Error
application/json
404Error
application/json
409
Conflict
500
Internal Server Error
patch
PATCH /site/{tenant}/sites/{siteCode} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24

{
  "defaultLanguage": "en"
}

No content