← Back to products
EC

vy-ecom-core

Product, category & bill API client for POD storefronts.

vy-ecom-core is the same client the Ecommerce Console calls internally, published as a package instead of kept private — so a custom storefront or internal tool can read and write the exact same catalogue and order data without reverse-engineering an API.

Freeopen source · MIT
View on npm
npm install @varyar/vy-ecom-corev2.2.0MIT

v2.2.0

current release

MIT

license

100%

TypeScript, generated types

Built for print-on-demand first

Product and category shapes assume variants, print files, and per-item fulfilment status out of the box, instead of forcing a generic ecommerce schema onto a POD catalogue after the fact.

Typed end to end

Every response is a generated TypeScript type, not `any` — autocomplete on a bill's line items or a product's variant list works the moment the package is installed, with no hand-written interfaces to keep in sync.

Runs anywhere Node or the edge does

No dependency on a specific framework or hosting target: the same client works in a Next.js route handler, a plain Node script, or an edge function.

Inside vy-ecom-core

What’s included

Swipe through on a phone, or scan the grid on a wider screen.

01

Catalogue & category reads

02

Bill / order client

03

Print-on-demand storefront ready

04

Generated TypeScript types, no hand-written interfaces

05

Same client the Ecommerce Console runs internally