Bowmark AIdocs

BYLT Basics

Reads BYLT Basics' build-your-own custom multi-pack bundle kits — their real discounted price, the size/color choices, and a pre-filled checkout link —…

Reads BYLT Basics' build-your-own custom multi-pack bundle kits — their real discounted price, the size/color choices, and a pre-filled checkout link — direct from the store's Storefront API.

Domain: byltbasics.com

Also known as: BYLT Basics, BYLT, byltbasics.com

Call it directly

bowmark.providers.byltbasics.listBundlePacks(args?: { category?: string }): Promise<byltbasicsBundlePack[]>
bowmark.providers.byltbasics.getPackOptions(handle: string): Promise<byltbasicsPackOptions>
bowmark.providers.byltbasics.buildPackHandoff(args: { handle: string; size: string; colors: string[] }): Promise<byltbasicsPackHandoff>

Functions

FunctionWhat it does
listBundlePacksLists BYLT Basics' 'Custom N Pack' bundle kits — each its own product with a single variant priced at the real, already-discounted bundle price (e.g. $74 vs a $105 compare-at for a 3-pack).…
getPackOptionsReads the real size and color choices for one bundle kit (a handle from listBundlePacks). A kit product carries no Color/Size options itself — the shopper picks them as free-text…
buildPackHandoffConfigures one bundle kit — validates the chosen size and each color against getPackOptions, validates the color COUNT against the kit's own itemsRequired, then returns the real…

Types

interface byltbasicsBundlePack {
  handle: string;
  title: string;
  itemsRequired: number;
  price: number;
  compareAtPrice: number | null;
  savingsPercent: number | null;
  variantId: string;
}
interface byltbasicsPackOptions {
  baseHandle: string;
  baseTitle: string;
  colors: string[];
  sizes: string[];
}
interface byltbasicsPackHandoff {
  handle: string;
  title: string;
  size: string;
  colors: string[];
  price: number;
  compareAtPrice: number | null;
  savingsPercent: number | null;
  checkoutUrl: string;
}