u
This commit is contained in:
@@ -1710,6 +1710,19 @@ export const posterminal = {
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* PATCH /api/posterminal/:id
|
||||
* Body: { name?: string, rootCategoryId?: number|null, syncRootArticles?: boolean, pairingpin?: string }
|
||||
* Update posterminal configuration.
|
||||
* → 200 { posterminal }
|
||||
*/
|
||||
update(terminalId, patch) {
|
||||
return http(`/api/posterminal/${terminalId}`, {
|
||||
method: 'PATCH',
|
||||
body: patch,
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* DELETE /api/posterminal/:id → 204
|
||||
* Deletes a terminal.
|
||||
|
||||
Reference in New Issue
Block a user