import Config from "../config"; export const getOrderHistory = async (userId) => { //This is what we will return once our oder history API is operational // const res = await fetch(`${Config.orderHistoryApiUrlMethod(userId)}`); // const orders = await res.json(); // return orders; return ( [ { id: "609968a89cc32e1ef8208e8b", orderTrackingCode: "N/A", orderStatus: "RECEIVED", orderCreatedAt: 1620666536727, orderUpdatedAt: 1620666536727, customerId: "e-com-test-id2", customerEmailAddress: "test@test.test", orderItems: [ { itemId: "AFP-989", itemName: "this item", itemSku: "AFP-989", itemQuantity: 2, itemPrice: 14.0 } ], customerAddress: { street: "Grand", city: "chicago", state: "IL", zip: "90210" } } ] ) }