Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

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 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.

📘

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).
Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!