An online pickup order shows up when the customer pays and again when the store hands over the bag. Use the original order ID for the sale and the pickup event to measure fulfillment.
Keep three events separate
Record the online purchase once. Record pickup as its own milestone. If the shopper buys an extra item while collecting the order, count it using the separate register receipt when one exists.
For refunds or canceled pickups, reconcile against the original order. Track pickup location separately from the marketing source and use both if you want to see which campaigns are sending shoppers to which stores.