@commercetools-test-data/inventory-entry
v10.7.1
Published
Data model for commercetools API InventoryEntry
Downloads
5,220
Readme
@commercetools-test-data/inventory-entry
This package provides the data model for the commercetools platform InventoryEntry
type
https://docs.commercetools.com/api/projects/inventory#inventoryentry
Install
$ yarn add -D @commercetools-test-data/inventory-entry
Usage
import type {
TInventoryEntry,
TInventoryEntryDraft,
} from '@commercetools-test-data/inventory-entry';
import * as InventoryEntry from '@commercetools-test-data/inventory-entry';
const inventoryEntry = InventoryEntry.random().build<TInventoryEntry>();
const inventoryEntryDraft =
InventoryEntry.InventoryEntryDraft.random().build<TInventoryEntryDraft>();