Application Context

Application context for a Commerce store.
JSON example
{
  "cartCalculateEnabled": true,
  "checkoutSettings": {
    "isManagedCheckoutEnabled": false,
    "paymentConfiguration": {
      "paymentMethodManualCaptureEnabled": false,
      "paymentMethodSetDevName": ""
    },
    "shippingMethodsEnabled": true
  },
  "country": "US",
  "defaultCurrency": "USD",
  "guestBrowsingEnabled": true,
  "guestCartCheckoutEnabled": true,
  "guestCartEnabled": true,
  "guestCheckoutEnabled": true,
  "inventoryConfiguration": {
    "isInventoryEnabled": false
  },
  "managedCheckoutVersion": "1.5.1",
  "markets": [
    {
      "localeCurrencyMap": {
        "en_US": "USD"
      },
      "marketId": "0ZISG000000C7nT"
    }
  ],
  "orderStatuses": [
    {
      "apiName": "Created",
      "displayValue": "Created"
    },
    {
      "apiName": "Approved",
      "displayValue": "Approved"
    },
    {
      "apiName": "Waiting to Fulfill",
      "displayValue": "Waiting to Fulfill"
    },
    {
      "apiName": "Activated",
      "displayValue": "Activated"
    },
    {
      "apiName": "Fulfilled",
      "displayValue": "Fulfilled"
    },
    {
      "apiName": "Canceled",
      "displayValue": "Canceled"
    },
    {
      "apiName": "Returned",
      "displayValue": "Returned"
    }
  ],
  "propertiesEx": {
    "highScaleCartEnabled": false,
    "shopperCopilotUIEnabled": false
  },
  "sessionDrivenCurrency": true,
  "shippingCountries": [
    "US"
  ],
  "splitShipmentEnabled": false,
  "supportedCurrencies": [
    "USD"
  ],
  "subscriptionConfig": {
    "rlmSubscriptionEnabled": true,
    "subscriptionPlusEnabled": false
  },
  "taxType": "Net",
  "usesSingleEntitlementPolicy": false,
  "usesUniversalPricebooks": false
}
Property Name Type Description Filter Group and Version Available Version
cartCalculate​Enabled Boolean Indicates whether the cart is enabled (true) or not (false). Small, 60.0 60.0
catalogSnapshot​VersionId String ID of the catalog snapshot's version. Small, 54.0 54.0
checkoutSettings Checkout Settings Settings for Salesforce Checkout. Small, 61.0 61.0
clientSide​Payment​Configuration Client-Side Payment Configuration Client-side payment configuration. Small, 54.0 54.0
country String Two-digit ISO code of the store's country. Small, 55.0 55.0
defaultCurrency String Default currency for the store. Small, 54.0 54.0
guestBrowsing​Enabled Boolean Indicates if guest browsing is enabled (true) or not (false). Small, 57.0 57.0
guestCartEnabled Boolean Indicates whether the guest cart access is enabled (true) or not (false). Small, 58.0 58.0
guestCart​CheckoutEnabled Boolean Indicates whether the guest cart checkout feature is enabled (true) or not (false).

In API version 58.0 and later, use guestCartEnabled and guestCheckoutEnabled instead.

Small, 54.0 54.0-57.0
guestCheckout​Enabled Boolean Indicates whether the guest checkout access is enabled (true) or not (false). Small, 58.0 58.0
inventory​Configuration Inventory Configuration Inventory configuration settings for the store. Small, 58.0 58.0
markets Markets Market configuration for the store. Small, 58.0 58.0
orderStatuses Order Status[] Order statuses available in the Status picklist of the Order Summary object. Small, 62.0 62.0
propertiesEx Map<String,Object> Map of extra properties. Properties contained here should not be relied on and may be removed at any time. Small, 54.0 54.0
sessionDriven​Currency Boolean Indicates whether to base the currency on the session context value (true) or not (false). For D2C stores without markets, this property is set to false. For D2C stores with markets and for all B2B stores (with or without markets), the property is set to true. Small, 57.0 57.0
shipping​Countries String[] Array of two-digit ISO codes of the countries to which purchases in the store can be shipped. If the store’s Supported Ship To Countries field is set, this value matches it. If not, then this value matches the country value. Small, 55.0 55.0
splitShipment​Enabled Boolean Indicates whether split shipment is enabled (true) or not (false) for your web store. Small, 60.0 60.0
subscription​Config Subscription Config Commerce subscription configuration settings for the org. Small, 63.0 63.0
supported​Currencies String[] List of currencies supported for the store. Small, 54.0 54.0
taxType String Tax type of the store. Gross if prices include tax. Net if prices don't include tax. Small, 55.0 55.0
usesSingle​Entitlement​Policy Boolean Indicates if the store uses a single entitlement policy (true) or not (false). Small, 54.0 54.0