# Get All Inventory by View

**Table of Contents**

### Overview

This endpoint can be used to get inventory data using a saved view. To get the existing Saved View IDs for your user, use [this endpoint](https://developer.sellercloud.com/?post_type=ht_kb&p=2960&preview=true).

To consume the endpoint, you must:

- Be an authenticated user.

For information on how you can authenticate, see: [Authentication](https://developer.sellercloud.com/dev-article/authentication/).

As soon as you do authentication and receive a valid token, it needs to be passed to the call.

### Endpoint

`https://{your_server_id}.api.sellercloud.com/rest/api/Inventory/GetAllByView`

### Request

- Method Type: **HttpGet**  
- Authorization: Use **Bearer Token** \+ token received from token authentication  
- Header info: Content-Type: **application/json**

List of query parameters:

| **Parameter** | **Data Type** | **Description** | **Required** |
| -------------- | -------------- | ---------------- | -------------- |
| ViewID | Integer | The ID of the existing Inventory saved view. | Yes |
| PageNumber | Integer | Page number. | Yes |
| pageSize | Integer | Page size.<br>The maximum page size is 50. If a greater value is provided, 50 records will be returned per page. | Yes |

### Response

- If the user is authenticated and the request is successful, then the response will be **Status Code 200 => OK** with inventory data in the response body.
- If the user is not authenticated, then the response will be **Status Code 401 => Not Valid Token.**
- In case of an error, the response will be **Status Code 500 => Internal Server Error.**
- In case of an incorrect request, the response will be **Status Code 400 => Bad Request.**

### Response Body

```json
{
  "Items": [
    {
      "ImageUrl": "string",
      "Weight": "string",
      "ShippingWeight": "string",
      "WeightOz": 0,
      "PackageWeightLbs": 0,
      "PackageWeightOz": 0,
      "LocationNotes": "string",
      "CompanyID": 0,
      "ShadowOf": "string",
      "AverageCost": 0,
      "Priority": 0,
      "Rating": 0,
      "ProductName": "string",
      "DefaultVendorSKU": "string",
      "QtyPerCase": 0,
      "QtySold15": 0,
      "QtySold30": 0,
      "QtySold60": 0,
      "QtySold90": 0,
      "QtySold180": 0,
      "QtySold365": 0,
      "QtySoldYTD": 0,
      "IsEndOfLife": true,
      "ShippingCost": 0,
      "AggregateQty": 0,
      "ASIN": "string",
      "AggregatePhysicalQtyFBA": 0,
      "ASINInActiveListing": "string",
      "ShippingWidth": 0,
      "ShippingHeight": 0,
      "ShippingLength": 0,
      "LocationRegion": 0,
      "RegionName": "string",
      "WeightLbs": 0,
      "ProductType": "string",
      "DefaultVendor": "string",
      "UnitOfMeasure": 0,
      "ProductUnitOfMeasure": "string",
      "HomeCountryCode": 0,
      "Country": "string",
      "AmazonMarketPlaceID": "string",
      "CompanyName": "string",
      "CompanyNameAbbreviation": "string",
      "WarehouseBasedPhysicalAndReservedQty": true,
      "WarehousePhysicalQty": 0,
      "WarehousePhysicalQtyValue": 0,
      "WarehouseReservedQtyValue": 0,
      "AggregatedQty": 0,
      "AggregatePhysicalSellableQtyIncludingPhysicalValue": 0,
      "PhysicalQty": 0,
      "ReservedQty": 0,
      "ReserveQtyTotalValue": 0,
      "AggregateNonSellableQty": 0,
      "StorePrice": 0,
      "ListPrice": 0,
      "ManufacturerSKU": "string",
      "UPC": "string",
      "EAN": "string",
      "AmazonFBASKU": "string",
      "FulfilledBy": "string",
      "SalesRank": 0,
      "ProductConditionName": "string",
      "NotesCount": 0,
      "FirstKitChild": "string",
      "WarehouseName": "string",
      "IsSellAble": true,
      "WarehouseCount": 0,
      "OrderReserveTotal": 0,
      "ExpectedDeliveryDate": "2025-05-29T10:43:27.322Z",
      "CreationDate": "2025-05-29T10:43:27.322Z",
      "BrandName": "string",
      "ActiveStatus": "string",
      "ActiveRebateID": 0,
      "ActiveRebateValue": 0,
      "ActiveRebateDeductFromItemCost": 0,
      "DeductFromItemCostType": 0,
      "Status": 0,
      "InventoryDependantOption": 0,
      "OnOrder": 0,
      "AmazonPrice": 0,
      "VendorID": 0,
      "VendorVisible": true,
      "LastAggregateDate": "2025-05-29T10:43:27.322Z",
      "LastModifiedDate": "2025-05-29T10:43:27.322Z",
      "AmazonMarketplace": "string",
      "OnBackOrder": 0,
      "BackOrderVisible": true,
      "WholeSalePrice": 0,
      "WholeSalePriceVisible": true,
      "SitePrice": 0,
      "SiteCost": 0,
      "IsKit": true,
      "SiteCostVisible": true,
      "LastCost": 0,
      "LastCostVisible": true,
      "ShowPriorityAndRatingDelta": true,
      "InventoryAvailableQty": 0,
      "ChildProducts": [
        {
          "ProductId": "string",
          "ChildProductId": "string",
          "PerKitQty": 0,
          "ProductName": "string"
        }
      ],
      "CustomColumns": [
        {
          "ID": 0,
          "DataType": 0,
          "DataLength": 0,
          "IsDropDownColumn": true,
          "IsDropDownCustomTextAllowed": true,
          "IsDropDownAllowMultipleSelection": true,
          "ClientID": 0,
          "NewValue": {},
          "AllowHTMLPopup": true,
          "DataSourceContainer": [
            {
              "Key": "string",
              "Value": "string",
              "Additional": {}
            }
          ],
          "IsRequired": true,
          "IsEnabledForClient": true,
          "DataTypeName": "string",
          "ColumnName": "string",
          "DisplayName": "string",
          "Value": {}
        }
      ],
      "AmazonStoreStatus": true,
      "AmazonEnableBOPISProduct": true,
      "ID": "string"
    }
  ],
  "TotalResults": 0
}
```
