The data being returned is used in another part of the workflow. Workflow is build like this:

Get JSON Data

Get/Create Customer Record - passes customer id
Get/Create Customer Cart - passes cart token
Create Customer Offer - passes offer token
Process Offer - passes decision on offer
Create Discounts - passes discount code
Post to Cart - post back to cart - customer id, offer token, cart token, offer status, discount code

An empty return would either break the subsequent events or pass an error back to the user that is not there.

1 Like