| 401 | Unauthorized - Invalid API key | - |
*/
- public okhttp3.Call returnCartItemsCall(@javax.annotation.Nonnull String customerSessionId, @javax.annotation.Nonnull ReturnIntegrationRequest returnIntegrationRequest, @javax.annotation.Nullable Boolean dry, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call returnCartItemsCall(@javax.annotation.Nonnull String customerSessionId, @javax.annotation.Nonnull ReturnIntegrationRequest returnIntegrationRequest, @javax.annotation.Nullable Boolean dry, @javax.annotation.Nullable Boolean runRuleEngine, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -4177,6 +4364,10 @@ public okhttp3.Call returnCartItemsCall(@javax.annotation.Nonnull String custome
localVarQueryParams.addAll(localVarApiClient.parameterToPair("dry", dry));
}
+ if (runRuleEngine != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("runRuleEngine", runRuleEngine));
+ }
+
final String[] localVarAccepts = {
"application/json"
};
@@ -4198,7 +4389,7 @@ public okhttp3.Call returnCartItemsCall(@javax.annotation.Nonnull String custome
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call returnCartItemsValidateBeforeCall(@javax.annotation.Nonnull String customerSessionId, @javax.annotation.Nonnull ReturnIntegrationRequest returnIntegrationRequest, @javax.annotation.Nullable Boolean dry, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call returnCartItemsValidateBeforeCall(@javax.annotation.Nonnull String customerSessionId, @javax.annotation.Nonnull ReturnIntegrationRequest returnIntegrationRequest, @javax.annotation.Nullable Boolean dry, @javax.annotation.Nullable Boolean runRuleEngine, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'customerSessionId' is set
if (customerSessionId == null) {
throw new ApiException("Missing the required parameter 'customerSessionId' when calling returnCartItems(Async)");
@@ -4209,7 +4400,7 @@ private okhttp3.Call returnCartItemsValidateBeforeCall(@javax.annotation.Nonnull
throw new ApiException("Missing the required parameter 'returnIntegrationRequest' when calling returnCartItems(Async)");
}
- return returnCartItemsCall(customerSessionId, returnIntegrationRequest, dry, _callback);
+ return returnCartItemsCall(customerSessionId, returnIntegrationRequest, dry, runRuleEngine, _callback);
}
@@ -4219,6 +4410,7 @@ private okhttp3.Call returnCartItemsValidateBeforeCall(@javax.annotation.Nonnull
* @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. (required)
* @param returnIntegrationRequest body (required)
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. (optional)
+ * @param runRuleEngine When set to `true`, reevaluates the updated session after items are returned. Only reevaluates campaigns where `reevaluateOnReturn` is set to `true` and which produced an effect when the session was closed. (optional)
* @return IntegrationStateV2
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -4230,8 +4422,8 @@ private okhttp3.Call returnCartItemsValidateBeforeCall(@javax.annotation.Nonnull