This commit is contained in:
seb
2026-10-16 12:35:07 +02:00
parent 70e3ae7a87
commit 796f6a3272
23 changed files with 193 additions and 38 deletions

View File

@@ -47,12 +47,14 @@ async function run() {
parentId: company.rootCategoryId,
name: 'Item A',
sku: 'ITEM-A',
track_stock: true,
});
const itemB = await store.article.createUnderParent({
googleAuthId,
parentId: company.rootCategoryId,
name: 'Item B',
sku: 'ITEM-B',
track_stock: true,
});
// Stock up Item A (20) and Item B (20)