@commercetools-test-data/shopping-list
v10.11.1
Published
Data model for commercetools API Shopping List
Downloads
5,145
Readme
@commercetools-test-data/shopping-list
This package provides data models for the commercetools platform Shopping List
representations.
https://docs.commercetools.com/api/projects/shoppingLists#representations
Install
$ pnpm add -D @commercetools-test-data/shopping-list
Usage
import {
ShoppingList,
ShoppingListDraft,
type TShoppingList,
type TShoppingListDraft,
} from '@commercetools-test-data/shopping-list';
const shoppingList = ShoppingList.random().build<TShoppingList>();
const shoppingListDraft =
ShoppingListDraft.random().build<TShoppingListDraft>();