Error
A valid request URL is required to generate request examples{
"insertStockLocationsOne": {
"id": 123,
"name": "<string>",
"site": {
"id": 123,
"name": "<string>"
},
"type": "<unknown>"
}
}Stock
Create a stock location
Creates a stock location.
POST
/
stock
/
locations
Error
A valid request URL is required to generate request examples{
"insertStockLocationsOne": {
"id": 123,
"name": "<string>",
"site": {
"id": 123,
"name": "<string>"
},
"type": "<unknown>"
}
}Creates a stock location.
Request body
{
"name": "Magasin MP",
"siteId": 1,
"type": "PHYSICAL"
}
Headers
API token from your Bonx space.
Query Parameters
"name" is required (enter it either in parameters or request body)
Body
application/json
Query parameters can also be provided in the request body as a JSON object
Response
200 - application/json
Response
Show child attributes
Show child attributes
Was this page helpful?