Product Return

OOTB Product Return Event

This document describes the Out-Of-The-Box (OOTB) Product Return event schema. This event should be sent when a user completes a return for a specific item from a previously completed order.

Event Key

Event KeyEvent NameType
ootb_product_returnOOTB Product ReturnSimple event

Event Structure

The mandatory properties (tenant, timestamp, event, and customer) are required for all events and are documented separately.

Below is the JSON structure for the context-specific properties of the OOTB Product Return event.

{
  "context": {
    "ootb_session_id": "248rhdbuw2her1",
    "ootb_return_id": "r567890123",
    "ootb_order_id": "o987654321",
    "ootb_product_id": "SKU98765",
    "ootb_item_name": "Phone Case",
    "ootb_item_description": "Durable silicone phone case",
    "ootb_category": "Accessories",
    "ootb_item_price": 25.00,
    "ootb_quantity": 1,
    "ootb_reason": "Item not as described",
    "ootb_refund_method": "Original Payment Method",
    "ootb_total_return_value": 25.00,
    "ootb_item_image_url": "[https://example.com/products/sku98765.jpg](https://example.com/products/sku98765.jpg)",
    "ootb_item_page_link": "[https://example.com/product/sku98765](https://example.com/product/sku98765)"
  }
}

 

Parameters

Mandatory fields are marked with an asterisk (*).

Parameter KeyParameter NameTypeDescription
ootb_session_idOOTB Session IDStringUser’s browser session ID.
ootb_return_id*OOTB Return ID*StringUnique ID of the return request.
ootb_order_id*OOTB Order ID*StringAssociated order ID.
ootb_product_id*OOTB Product ID*StringProduct ID of the returned item.
ootb_item_name*OOTB Item Name*StringName of the returned item.
ootb_item_description*OOTB Item Description*StringDescription of the item.
ootb_category*OOTB Category*StringCategory the item belongs to.
ootb_item_price*OOTB Item Price*NumberUnit price of the returned item.
ootb_quantity*OOTB Quantity*NumberQuantity returned.
ootb_reason*OOTB Reason*StringReturn reason.
ootb_refund_method*OOTB Refund Method*StringMethod used for the refund.
ootb_total_return_value*OOTB Total Return Value*NumberTotal refunded amount for the item.
ootb_item_image_url*OOTB Item Image URL*StringImage URL of the product.
ootb_item_page_linkOOTB Item Page LinkStringURL to the product’s detail page.

Explanation

  • event: Set to ootb_product_return to indicate a customer has returned a purchased item.
  • context:
    • ootb_return_id and ootb_order_id link the return to a specific return process and the original purchase.
    • The various product-specific parameters (ootb_product_id, ootb_item_name, etc.) provide detailed information about what was returned.
    • ootb_reason and ootb_refund_method offer valuable insights into customer satisfaction and operational processes.