Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Declare the inline price_list payload on CatalogParams
Damian Legawiecb0c6873650d1
diff --git a/packages/admin-sdk/src/params.ts b/packages/admin-sdk/src/params.tsindex b30fd59ee7..466fac3824 100644--- a/packages/admin-sdk/src/params.ts+++ b/packages/admin-sdk/src/params.ts@@ -2571,9 +2571,30 @@ export interface CatalogParams {* importProducts) to make it restrictive.*/price_list_id?: string | null+ /**+ * The price list this catalog prices through, written inline: an object+ * creates the owned list or updates the one already there, and an explicit+ * `null` detaches it. Detaching is deliberate — a released list starts+ * matching by its own rules again, and a rule-less list applies to every+ * shopper. Omit the key to leave the list alone.+ */+ price_list?: CatalogPriceListParams | nullmetadata?: Record<string, unknown>}+/** The owned list's attributes, as accepted on catalog create and update. */+export interface CatalogPriceListParams {+ name?: string+ description?: string | null+ status?: string+ match_policy?: string+ starts_at?: string | null+ ends_at?: string | null+ /** Signed: negative discounts off base prices, positive marks up. */+ price_adjustment_percentage?: string | null+ adjust_compare_at?: boolean+}+export interface CatalogAssignParams {/*** Who sees the catalog — buyer audiences only. A company assignment covers