Enable Stock Lot
POST
/admin/stock-lots/enable
const url = 'http://localhost:9000/admin/stock-lots/enable';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ids":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/stock-lots/enable \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "example" ] }'Request Body required
Section titled “Request Body required ” Media type application/json
object
ids
required
Array<string>
Example generated
{ "ids": [ "example" ]}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}