Application Context

Application context for a Commerce store.
JSON example
1{
2  "cartCalculateEnabled": true,
3  "checkoutSettings": {
4    "isManagedCheckoutEnabled": false,
5    "isMngCheckoutAutoPublished": true,
6    "paymentConfiguration": {
7      "businessAchEnabled": false,
8      "paymentMethodManualCaptureEnabled": false,
9      "paymentMethodSetDevName": ""
10    },
11    "shippingMethodsEnabled": true
12  },
13  "country": "US",
14  "defaultCurrency": "USD",
15  "giftingConfig": {
16    "isGiftMessageEnabled": false,
17    "isGiftWrapEnabled": false,
18    "isGiftingEnabled": false
19  },
20  "guestBrowsingEnabled": false,
21  "guestCartCheckoutEnabled": true,
22  "guestCartEnabled": true,
23  "guestCheckoutEnabled": true,
24  "inventoryConfiguration": {
25    "isInventoryEnabled": false
26  },
27  "managedCheckoutVersion": "0.117.0",
28  "markets": [],
29  "orderStatuses": [
30    {
31      "apiName": "Created",
32      "displayValue": "Created"
33    }
34  ],
35  "placeOrderV2Enabled": true,
36  "productConfig": {
37    "configuratorFlowApiName": "Commerce_Product_Configurator_Flow"
38  },
39  "propertiesEx": {
40    "shopperCopilotUIEnabled": false,
41    "highScaleCartEnabled": false
42  },
43  "sessionDrivenCurrency": true,
44  "shippingCountries": [
45    "US"
46  ],
47  "shopperConsentEnabled": false,
48  "skipPhoneNumberValidationEnabled": false,
49  "splitShipmentEnabled": false,
50  "subscriptionConfig": {
51    "commerceSubscriptionARCUIEnabled": false,
52    "rlmSubscriptionEnabled": false,
53    "subscriptionPlusEnabled": false
54  },
55  "supportedCurrencies": [
56    "USD"
57  ],
58  "taxType": "Gross",
59  "usesSingleEntitlementPolicy": false,
60  "usesUniversalPricebooks": false
61}
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
giftingConfig Gifting Config Gifting configuration settings for the org. Small, 64.0 64.0
guestBrowsing​Enabled Boolean Indicates if guest browsing is enabled (true) or not (false). Small, 57.0 57.0
guestCart​Enabled 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
managedCheckout​Version String Managed checkout version number for the store. Small, 62.0 62.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
placeOrderV2​Enabled Boolean Indicates whether place order orchestration V2 is enabled (true) or not (false) for your web store. Small, 64.0 64.0
productConfig Product Config Product configuration settings for the org. Small, 65.0 65.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
shopperConsent​Enabled Boolean Indicates whether shopper consent is enabled (true) or not (false) for your web store. Small, 64.0 64.0
skipPhoneNumber​ValidationEnabled Boolean Indicates whether skip phone number validation is enabled (true) or not (false) for your web store. Small, 64.0 64.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
usesUniversal​Pricebooks Boolean Indicates if the store uses a single price book for both guest and authenticated users (true) or not (false). Small, 62.0 62.0