post https://api.eu1.odp.optimizely.com/v3/events
Upload an order purchase/return/refund/cancellation event to Optimizely Data Platform (ODP).
Additional parameter notes
ts
- (optional) specify the time of the order purchase/return/refund/cancellationtotal
andsubtotal
- the absolute amount specified is subtracted from the existing valuetax
andshipping
- (optional) if specified, these values overwrite any existing value and should be the positive remainder
Partial refund
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)