@commercetools-test-data/product-selection
v10.9.3
Published
Data model for commercetools API ProductSelection
Downloads
12,329
Readme
@commercetools-test-data/product-selection
This package provides the data model for the commercetools platform ProductSelection
representation.
https://docs.commercetools.com/api/projects/product-selections#representations
Install
$ pnpm add -D @commercetools-test-data/product-selection
Usage
import {
ProductSelection,
ProductSelectionDraft,
type TProductSelection,
type TProductSelectionDraft,
} from '@commercetools-test-data/product-selection';
const productSelection = ProductSelection.random().build<TProductSelection>();
const productSelectionDraft =
ProductSelectionDraft.random().build<TProductSelection>();