To use the Orders API, install the @wix/events package using npm or Yarn:
@wix/events
or
Then import { orders } from @wix/events:
{ orders }