post https://api.zaius.com/v3/events
Upload an order purchase/return/refund/cancellation event to Optimizely Data Platform (ODP).
Note
Additional parameters:
ts
– (Optional) Specify the time of the order purchase/return/refund/cancellation.total
andsubtotal
– The absolute amount specified is subtracted from the existing value.tax
andshipping
– (Optional) If specified, these values overwrite any existing value and should be the positive remainder.
Note
You do not need to input line items to process a partial refund. To send a partial refund, set the parameters as shown below:
type
–order
action
–refund
total
– Set this to the partial refund amount (ODP interprets this as the amount to deduct from the original order).subtotal
– Set this to the partial refund amount (ODP interprets this as the amount to deduct from the original order).