Build on the supported package contract
Use @absolutejs/commerce-customcat through its supported public entry points.
@absolutejs/commerce-customcatv0.6.20-beta.2betaCommerce & GrowthCustomCat print-on-demand fulfillment adapter for @absolutejs/commerce
bun add @absolutejs/commerce-customcatCustomCat print-on-demand fulfillment adapter for @absolutejs/commerce.
Use createCustomCatCatalog() for normalized catalog browsing, live SKU availability, and read-only fulfillment cost preflight. Preflight refreshes the selected SKUs and shipping cost, includes CustomCat's documented back-print adjustment, and returns item/shipping/adjustment totals. It does not reserve inventory or price; refresh it immediately before creating spend authority. The same provider exposes paginated free-text catalog search and destination- aware shipping-method discovery. CustomCat does not expose server-side catalog search, so a search walks its paginated catalog before returning normalized matches; ordinary browsing remains a single provider page request. Set categories: "all" to discover CustomCat's category/subcategory taxonomy and traverse every returned category with opaque cursors instead of hardcoding its current category list.
The adapter uses CustomCat's external-design workflow: every line supplies an exact catalog_sku plus a public PNG/JPG artwork URL. Front and back artwork are supported. Set sandbox: true until the account is ready to create paid production orders.
API keys are merchant scoped. Multi-tenant platforms should resolve the key from their secret store per fulfillment account; never persist keys in catalog or fulfillment settings JSON.
Outcomes
Use @absolutejs/commerce-customcat through its supported public entry points.
Hardening checklist
Follow in order
# @absolutejs/commerce-customcat
import { createCustomCatFulfillment } from "@absolutejs/commerce-customcat";
const fulfillment = createCustomCatFulfillment({
apiKey: process.env.CUSTOMCAT_API_KEY!,
sandbox: true,
});
await fulfillment.submitOrder({
externalOrderId: "ORDER-1001",
recipient,
lines,
shippingMethod: "Economy",
});Supported entry points declared by this package manifest.
Package entry point declared in package.json.
Scripts declared by this package manifest.
Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.