Sync Stock Location
POST
/admin/veeqo/stock-locations/sync
const url = 'http://localhost:9000/admin/veeqo/stock-locations/sync';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"stock_location_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/veeqo/stock-locations/sync \ --header 'Content-Type: application/json' \ --data '{ "stock_location_ids": [ "example" ] }'Request Body required
Section titled “Request Body required ” Media type application/json
object
stock_location_ids
required
Array<string>
Example generated
{ "stock_location_ids": [ "example" ]}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}