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