v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
Inventory

AddInventoryItemBulk

Use this call to add up to 200 stock items. <b>Permissions Required: </b> GlobalPermissions.Inventory.MyInventoryNode <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

post/api/Inventory/AddInventoryItemBulk

Request body

Example request

{
  "request": {
    "InventoryItems": [
      {
        "PostalServiceId": "00000000-0000-0000-0000-000000000000",
        "CategoryId": "00000000-0000-0000-0000-000000000000",
        "PackageGroupId": "00000000-0000-0000-0000-000000000000",
        "StockItemId": "00000000-0000-0000-0000-000000000000"
      }
    ]
  }
}

Response

OK

TotalResultsinteger
ResultStatus'NOTSET' | 'SUCCESSFUL' | 'PARTIALLY_SUCCESSFUL' | 'FAILED'

Example response

{
  "Results": [
    {
      "Result": "00000000-0000-0000-0000-000000000000"
    }
  ]
}