Poq.SDK.Node

Home > @poq/sdk-sfcc > Site

Site class

Document representing a site.

Signature:

export declare class Site extends BaseModel<Site> 

Extends: BaseModel<Site

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the Site class

Properties

Property Modifiers Type Description
allowedCurrencies?   Array<string> (Optional) The list of allowed currencies.
allowedLocales?   Array<Locale> (Optional) A list of all allowed site locales.
defaultCurrency?   string (Optional) The currency mnemonic of the site.
defaultLocale?   string (Optional) The default locale of the site.
httpDisBaseUrl?   string (Optional) The HTTP DIS base URL.
httpHostname?   string (Optional) The configured HTTP host name. If no host name is configured the instance host name is returned.
httpLibraryContentUrl?   string (Optional) The HTTP URL to the library content location of the site.
httpsDisBaseUrl?   string (Optional) The HTTPS DIS base URL.
httpsHostname?   string (Optional) The configured HTTPS host name. If no host name is configured the instance host name is returned.
httpSiteContentUrl?   string (Optional) The HTTP URL to the site content location.
httpsLibraryContentUrl?   string (Optional) The HTTPS URL to the library content location of the site.
httpsSiteContentUrl?   string (Optional) The HTTPS URL to the site content location.
id?   string (Optional) The id of the site.
name?   string (Optional) The descriptive name for the site.
status?   SiteStatusEnum (Optional) The site status online/offline.
timezone?   string (Optional) The time zone of the site (for example, USA/Eastern).
timezoneOffset?   number (Optional) The time zone offset from UTC for the current time in milliseconds (for example, -14400000).