Order Details Data Mapping

The article below provides a data mapping table for the Order History and Order Refund pages in the POS app. It documents attributes displayed on both pages, listing the fields retrieved via the GET Order SPI (ordersearchv2) for reference in the Return Workflow and Order History.

SubsectionLabelData Mapping Key
Order details cellOrder Placedorder.orderDate
Order details cellOrder Statusorder.orderStatusText
Order details cellOrder Numberorder.displayOrderId
Customer information cellStore Associateorder.productList.salesAssociateAttribution.storeAssociateId
Note: Multiple store associate attributions are joined by ", "
Customer information cellPhoneorder.customerProfile.phoneMobile
Note: Formatted to phone number format
Customer information cellAddressorder.customerProfile.address.addressLine1
Customer information cellCustomerorder.customerProfile.firstName order.customerProfile.lastName
Note: First name and last name joined by " "
Customer information cellEmailorder.customerProfile.email
Product cellProduct Nameorder.productList[n].name
Product cellProduct IDorder.productList[n].productId
Product cellProduct Imageorder.productList[n].imageURL
Product cellColororder.productList[n].color
Product cellSizeorder.productList[n].size
Product cellUnit Priceorder.productList[n].price
Note: Key may change depending if store price and/or sale price is present
Product cellQuantityorder.productList[n].quantity
Product cellSubtotalorder.productList[n].subtotal
Product cellStatusorder.productList[n].orderStatusText
Order summary cellSubtotalorder.orderSubTotal
Order summary cellDiscountorder.transactionDiscountAmount
Order summary cellNet Subtotalorder.taxableAmount
Order summary cellShipping Costsorder.shippingSubTotal
Order summary cellTaxorder.taxSubTotal
Note: If multiple taxes are applied, order.taxRates is used to list taxes
Order summary cellTax Exemptionorder.taxExemption
Order summary cellRoundingorder.tenders[n].roundingAmount
Order summary cellTiporder.tipTotal
Order summary cellOrder Totalorder.totalAmount
Order status cellOrder Statusorder.orderStatusText
Payment method cellTender Typeorder.tenders[n].paymentMethod
Payment method cellTender Amountorder.tenders[n].amountAuthorized
NotesNotesorder.notesList

Order History

SubsectionLabelData Mapping Key
Order details cellOrder Numberorder.orderID
Order details cellShipped Toorder.billingName
Order details cellPayment methodorder.tenders[n].paymentMethod
Order details cellAddressorder.shippingAddress
Order details cellOrder Dateorder.orderDate
Return product cellProduct Nameorder.productList[n].name
Return product cellProduct IDorder.productList[n].productId
Return product cellProduct Imageorder.productList[n].imageURL
Return product cellColororder.productList[n].color
Return product cellSizeorder.productList[n].size
Return product cellUnit priceorder.productList[n].price
Return product cellQuantityorder.productList[n].quantity
Return product cellSubtotalorder.productList[n].subtotal
Refund summary cellSubtotalsubTotal Note: Sum of each selected refund products
Refund summary cellDiscountdiscount Note: Sum of each selected refund products
Refund summary cellNet SubtotalsubTotal - discount Note: Sum of each selected refund products
Refund summary cellTaxtax Note: Sum of each selected refund products
Refund summary cellTax ExemptiontaxExemption Note: Sum of each selected refund products
Refund summary cellRefund Totaltotal Note: Sum of each selected refund products

Order Refund