feat(api): add GET and POST /supplier/:id/articles endpoints and openapi docs

This commit is contained in:
seb
2026-09-18 02:54:06 +02:00
parent fe8fa55fbb
commit adb529d14f
8 changed files with 776 additions and 1 deletions

View File

@@ -19,3 +19,8 @@ export async function remove(googleAuthId, id) {
const store = await getStore();
return store.supplier.delete(googleAuthId, id);
}
export async function listArticlesBySkus(googleAuthId, entityIdOrOptions, maybeSkus) {
const store = await getStore();
return store.articlesupplier.listByEntityAndSkus(googleAuthId, entityIdOrOptions, maybeSkus);
}