These jobs will allow you to manage post origination actions from salesforce. You will be able to manage the following:
- Shipped - Set a delivery date for Katapult to know when funding should begin.
- Cancel - Cancel the entire order
- Completed - Mark an order for not to be reprocessed
- Cancel Item - Cancel the items individually
*Your integration must provide the update line items in the SFCC.
You can Update Line Items through:
OCAPI (Open Commerce API)
Add a Hook to POST order update to the cancel item endpoint. Like below:
The xml file must have a content like below:
A test controller was created. In this controller we pass the parameters in the url, where the “CancelItem” is the controller, “cancelItem” is the method, “oid” is the order ID and the “oli” is order line item.
See a example url below:
To avoid change Scope everytime, was created one JOB to SFRA and another to SiteGenesis:
Go to Administration > Operations > Jobs
Open the Job katapultOrderUpdateSG
Verify that the steps has selected the Scope option for your SiteGenesis, go to tab Job Steps
Select your RefArch scope and press Assign
Press the button Run Now to execute it, this job will update in Katapult’s platform the Delivery Date, the orders to Canceled, the orders with Canceled Items and the Completed orders to not be reprocessed.
You will see that the job was completed at the bottom of the page in the Schedule and History Tab, as well as the log file that includes what orders were updated in the Katapult platform
This is a row of the log from the order we canceled before in Salesforce, that includes information about the order number and the ID from Katapult's platform
Configuring Job Schedules
To configure schedules in Katapult job go to Administration > Operations > Jobs and open katapultOrderUpdateSG Job
Go to the tab Schedule and History
Configure when will be triggered the job, Once or Recurring
If you select Once select the date from the option when will be executed the Job
If you selected Recurring Interval select the date from when will starts the job and others parameters like how many times will be executed the Job, this is in the input Amount, Interval is to set with minutes, hours, days, weeks or months and for last, the days when will be executed the Job
Configuring Job Email Notifications
To configure schedules in Katapult job go to Administration > Operations > Jobs and open the katapultOrderUpdateSG Job
Go to the tab Notifications
Select the events you want notifications, add emails and automatically changes will be saved
Updated 8 months ago