Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In

Order Purchase/Return/Refund/Cancellation

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/cancellation
  • total and subtotal - the absolute amount specified is subtracted from the existing value
  • tax and shipping - (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)
Language
Click Try It! to start a request and see the response here!