Retrieves information related to products that a Company user has purchased. The information returned by this endpoint is different from the detailed product information returned by Get Order Details. However, it does include unique information like how many times a product was ordered and when it was last ordered.
The response includes all products purchased by the Company user, but you can filter for a subset of products by using parameters. Common use cases include:
beginDateAt and endDateAtminOrderedTimes and maxOrderedTimesq valueproductIDEquivalent Storefront GraphQL API Query: orderedProducts. For more information, see the GraphQL Playground.
Enter a date in %m/%d/%Y format to retrieve all orders placed after that time. If the parameter is not included in the request, the resposne includes orders placed 30 days before the current date.
Enter a date in %m/%d/%Y format to retrieve all orders placed before that time. If the parameter is not included in the request, the current date is used.
Enter order information to return partial and exact matches. Accepted information fields include order ID, order status name, Purchase Order (PO) number, and total order value including tax.