Using Signals Swagger allows you to create locations inside a grid location. When creating these locations, you are asked to add coordinates to place the new element inside the grid location. In this article, you will find the information you need to add these coordinates.
The properties for defining coordinates within Signals Swagger correspond to “coordinateX” and “coordinateY". These coordinates are not defined inside the ancestor object; coordinates must be top-level attributes of the location itself. Below, you will find an example of a request body that includes these elements.
{
"data": {
"type": "inventoryLocation",
"attributes": {
"name": "exampleLocation",
"typeId": "adaa8883-397e-4cca-bd82-e64a2010fe50",
"ancestors": [
{
"id": "77f225dd-af88-4875-b12b-6dd40f28c311"
}
],
"coordinateX": 0,
"coordinateY": 0,
"fields": [
{
"id": "f49da982-e2b8-43e7-8eb2-7d3a704fe354",
"content": {
"value": "Default"
}
}
]
}
}
}
Comments
0 comments
Article is closed for comments.