A B2B Commerce or D2C Commerce license and access to Commerce objects is required.
Fields
CheckoutTimeToLive
Type: int
Required: No
Properties: Filter, Group, Nillable, Sort
Introduced: API version 51.0
Description: Amount of time in minutes that a checkout stays active and doesn’t expire. If you use a Null value, your checkout never expires. If you use a 0 value, checkout is disabled.
CheckoutValidAfterDate
Type: datetime
Required: No
Properties: Filter, Nillable, Sort
Introduced: API version 51.0
Description: A timestamp in the default server timezone (GMT). All checkouts that start before this date are considered expired. A Null value means that all checkouts are valid. Example format: 2020-07-14T14:27:00.000Z.
Description: Required. The template’s default tax type for your webstore. Possible values include: This field is available in API version 55.0 and later.
Possible values:
Net — Net
Gross — Gross
Automatic — Automatic
Description
Type: textarea
Required: No
Properties: Nillable
Description: The description of the template.
DeveloperName
Type: string
Required: No
Properties: Filter, Group, Sort
Description: Required. The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is Record Type Name.
FullName
Type: string
Required: No
Properties: Create, Group, Nillable
Introduced: API version 49.0
Description: The full name of the associated WebStoreTemplate in Metadata API. The full name can include a namespaceprefix.
Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.
GuestCartTimeToLive
Type: int
Required: No
Properties: Filter, Group, Nillable, Sort
Introduced: API version 52.0
Description: The time that a guest cart is to remain valid before it expires. The default value is 168 hours (7 days), and the maximum value is 720 hours (30 days).
Language
Type: picklist
Required: No
Properties: Defaulted on create, Filter, Group, Restricted picklist, Sort
Description: The language of the WebStoreTemplate.
Description: Indicates the manageable state of the specified component that is contained in a package:
beta
deleted
deprecated
deprecatedEditable
installed
installedEditable
released
unmanaged
Possible values:
beta — beta
deleted — deleted
deprecated — deprecated
deprecatedEditable — deprecatedEditable
installed — installed
installedEditable — installedEditable
released — released
unmanaged — unmanaged
MasterLabel
Type: string
Required: No
Properties: Filter, Group, Sort
Description: Label for the WebStoreTemplate.
MaxValuesPerFacet
Type: int
Required: No
Properties: Filter, Group, Nillable, Sort
Description: Maximum number of values that can be added to a facet.
Metadata
Type: complexvalue
Required: No
Properties: Create, Nillable, Update
Introduced: API version 49.0
Description: The metadata for the WebStoreTemplate.
NamespacePrefix
Type: string
Required: No
Properties: Filter, Group, Nillable, Sort
Description: The namespace prefix associated with this object. Each Developer Edition organization that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation.
The namespace prefix can have one of the following values:
In Developer Edition organizations, the namespace prefix is set to the namespace prefix of the organization for all objects that support it. There is an exception if an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition organization of the package developer.
In organizations that are not Developer Edition organizations, NamespacePrefix is only set for objects that are part of an installed managed package. There is no namespace prefix for all other objects.
OptionsAutoFacetingEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 50.0
Description: If enabled (True), the most relevant search facets are automatically returned, in addition to the configured search facets, in the product search results. If disabled (False), only the configured search facets are returned. The default is False. See Add Product Search Filters (Facets) for more information.
OptionsCartAsyncProcessingEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 59.0
Description: Indicates whether add-to-cart requests are processed asynchronously (True) or not (False). The default value is True.
OptionsCartCalculateEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 59.0
Description: Indicates whether the cart calculate extension is enabled (True) or not (False). The default value is False.
OptionsCartToOrderAutoCustomFieldMapping
Type: boolean
Required: No
Properties: Filter
Introduced: API version 57.0
Description: Indicates whether custom field mapping for cart and order objects is enabled (True) or not (False). The default value is True.
OptionsCommerceEinsteinActivitiesTracked
Type: boolean
Required: No
Properties: Filter
Description: Indicates whether Commerce Einstein activities tracking is enabled (true) or not (false).
OptionsCommerceEinsteinDeployed
Type: boolean
Required: No
Properties: Filter
Description: Indicates whether Commerce Einstein is deployed (true) or not (false).
OptionsDuplicateCartItemsEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 59.0
Description: Indicates whether a cart can include multiple items with the same product ID (True) or not (False). The default value is False.
OptionsGuestBrowsingEnabled
Type: boolean
Required: No
Properties: Filter
Description: Indicates whether guest browsing is enabled for this store. Set the option to True to allow guest buyers access to products in the store.
OptionsGuestCartEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 58.0
Description: Required. Indicates whether guest cart access is enabled for a store created with an LWR template. Set the option to True to allow guest buyers access to products in the store.
OptionsGuestCheckoutEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 58.0
Description: Required. Indicates whether guest checkout access is enabled for a store created with an LWR template. Set the option to True to allow guest buyers access to products in the store.
OptionsPreserveGuestCartEnabled
Type: boolean
Required: No
Properties: Filter
Introduced: API version 60.0
Description: Required. Indicates whether cart contents are preserved when a guest logs in to the store. Set the option to True to preserve guest carts.
OptionsSkipAdditionalEntitlementCheckForSearch
Type: boolean
Required: No
Properties: Filter
Introduced: API version 52.0
Description: By default, user entitlement checks are run as part of a search index rebuild and again when product search results are returned. Skips the second check to promote faster search performance. Set the option to True to skip additional entitlement checks on a search.
OptionsSkuDetectionEnabled
Type: boolean
Required: No
Properties: Filter
Description: Indicates whether SKU detection is enabled (true) or not (false).
OptionsSplitShipmentEnabled
Type: boolean
Required: No
Properties: Filter
Description: Required. Indicates whether split shipments are enabled (true) or not (false).
OrderActivationStatus
Type: string
Required: No
Properties: Filter, Group, Nillable, Sort
Introduced: API version 55.0
Description: Status of the order. Possible values include:
Description: The order life cycle type. Possible values include:
Possible values:
MANAGED — Managed
UNMANAGED — Unmanaged
PaginationSize
Type: int
Required: No
Properties: Filter, Group, Nillable, Sort
Description: Number of results displayed per search results page.
PricingStrategy
Type: picklist
Required: No
Properties: Defaulted on create, Filter, Group, Restricted picklist, Sort
Description: Required. The price selected to display to buyers. Possible values include: The default value is LowestPrice.
Possible values:
LowestPrice — Best Price (default)
Priority — Priority Price
Default value: LowestPrice
ProductGrouping
Type: picklist
Required: No
Properties: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
Introduced: API version 51.0
Description: Determines whether product variations are listed individually in search results or are represented by the parent product, which links to its children. The default value is VariationParent.
Possible values:
BestMatch — Show best match product only (default)
VariationParent — Show parent product only — The parent product is returned in search results with a link to its children.
NoGrouping — Show all product variations — Variations are listed individually in search results.
Default value: BestMatch
SupportedCurrencies
Type: textarea
Required: No
Properties: Filter, Group, Nillable, Sort
Description: Currencies supported for store template.
SupportedLanguages
Type: textarea
Required: No
Properties: Filter, Group, Nillable, Sort
Description: Required. Languages supported for store template.
SupportedShipToCountries
Type: textarea
Required: No
Properties: Nillable
Introduced: API version 57.0
Description: Countries that a store created from the template can ship to.
Type
Type: picklist
Required: No
Properties: Defaulted on create, Filter, Group, Restricted picklist, Sort