Action object json.
anonymousSiteUrl as the prefix of the API url for Off-Platform deployments.
API namespace.
Expiration Date time of the cached item. Default is current time plus 5 minutes.
Flag to indicate where the data to be cached. Supported types are "INDEXEDDB, SESSIONSTORAGE and LOCALSTORAGE"
Flag to indicate if the sdk call should be cached.
Cart Id (Salesforce Id).Opportunity, Quote or Order Id. - Required
execute Integration Procedure as chainable.
List of custom fields to be returned.
List of fields to return in the response If not provided or is empty array, all fields are returned
Product Hierarchy
Flag to indicate whether product attachments are returned
Input Map values for the dataraptor procedure.
integration procedure name - optional
integration procedure name - optional
Array of items in the format [{ // Comma separated list of ids of products / child products / add-ons to be added to the cart itemId: "01uf400000HY8YGAA1,01uf400000HY8YuAAL,01uf400000HY8YkAAL", // Hierarchy of parent product (in case of add-on or child product) parentHierarchyPath: "01tf4000004ULpJAAW<01tf4000004ULpOAAW<01tf4000004ULpYAAW<01tf4000004ULpiAAG", // Id of parent item (in case of add-on or child product) parentId: "802f400000YzH8WAAV" }]
Options Map values for the integration procedure.
Parent record object (in case of adding add-on or child product)
Flag to decide, whether to run pricing engine or not If price = false, it will not run pricing engine.
Boolean flag to discard cache and call the api again. Default is false.
Remote class that handles this request.
Remote method used to add product to cart
value indicating whether the user agent should send cookies from the other domain in the case of cross-origin requests
Flag to indicate if the sdk call should be cached.
Flag to decide, whether to run validation rules or not
Function that constructs the API path for ApexRest Handles scenerio when input parameters are not provided
Function that constructs the API path for Rest call
Function that constructs the query string for API
Function that constructs the input map object containing all query parameters for API
Function to return VF Remoting method name.
The credentials read-only property of the Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests.
Function that constructs the Request body json for ApexRest Handles scenerio when input parameters are not provided
Function to validate all the required params
Generated using TypeDoc
User accountId for checkout api calls - optional