Skip to main content
Skip to main content

Order

Order<T>: { [key in keyof T]?: "ASC" | "DESC" | Order<T[key] extends any[] ? T[key][0] : T[key]\> }

An order is a purchase made by a customer. It holds details about payment and fulfillment of the order. An order may also be created from a draft order, which is created by an admin user.

Type parameters

TobjectRequired
Was this section helpful?