Skip to content

Create Selections

Creates the specified selections.

Endpoint {base-url}/selections
Verb PUT

Request Body

{
  "body": [{
    "id": 3347,
    "machineId": 418,
    "productId": 441,
    "price": 0.7000,
    "invoicePrice": 0.0001,
    "restockTo": 10,
    "depth": 10,
    "count": 5,
    "isActive": false,
    "alertLevel": 1,
    "restockAt": 1,
    "freeCount": 1,
    "tax": 0.1,
    "commission": 0.1,
    "selectionNumber": 6,
    "friendlyNumber": "5"
  }]
}

Returns

On Success

The IDs of the created selections.

Response Body

[
  270338
]