# SkuVault

> Read products, inventory, warehouses, purchase orders and sales from SkuVault Core.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/skuvault

## Actions

### Get available quantities

/getAvailableQuantities.

**Inputs**

- Modified after date time utc (`modified_after_date_time_utc`, date and time): Inventory modified after UTC DateTime. Default: `Beginning of time.`.
- Modified before date time utc (`modified_before_date_time_utc`, date and time): Inventory modified before UTC DateTime. Default: `Now.`.
- Page number (`page_number`, number): The page number to retrieve. Page number starts with 0. Default: `0`.
- Page size (`page_size`, number): Must be between 1000 and 5000. Default: `1000`.
- Expand alternate skus (`expand_alternate_skus`, true/false): If true, we will return alternate SKUs as a list instead of separate line items. Default: `false`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Items": []
  }
}
```

### Get item quantities

/getItemQuantities.

**Inputs**

- Modified after date time utc (`modified_after_date_time_utc`, date and time): Product inventory modified after date time in UTC. Default: `Beginning of time.`.
- Modified before date time utc (`modified_before_date_time_utc`, date and time): Product inventory modified before date time in UTC. Default: `Now.`.
- Product codes (`product_codes`, list): Filter results by a list of Codes, limited to 10000
- Page number (`page_number`, number): Defaults to 0. Default: `0`.
- Page size (`page_size`, number): Value should be between 1000 and 10000. Default: `10000`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Items": []
  }
}
```

### Get product

/getProduct.

**Inputs**

- Product code (`product_code`, text): Optional product Code. Either Code or SKU should be provided.
- Product sku (`product_sku`, text): Optional product SKU. Either SKU or Code should be provided.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {}
}
```

### List brands

/getBrands.

**Inputs**

- Page number (`page_number`, number): Page number, 1,000 results per page. Page number starts with 0. Default: `0`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Brands": []
  }
}
```

### List classifications

/getClassifications.

**Inputs**

- Page number (`page_number`, number): Page number. 1,000 results per page. Page number starts with 0. Default: `0`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Classifications": []
  }
}
```

### List kits

/getKits.

**Inputs**

- Available quantity modified after date time utc (`available_quantity_modified_after_date_time_utc`, date and time): Modified kit quantities after date time in UTC.
- Available quantity modified before date time utc (`available_quantity_modified_before_date_time_utc`, date and time): Modified kit quantities before date time in UTC.
- Get available quantity (`get_available_quantity`, true/false): If false, AvailableQuantity will always return 0. Default: `false`.
- Include kit cost (`include_kit_cost`, true/false): If true, then return cost for the kit with response. Default: `false`.
- Kit SKUs (`kit_skus`, list): Filter results by a list of SKUs.
- Modified after date time utc (`modified_after_date_time_utc`, date and time, required): Modified after date time utc.
- Modified before date time utc (`modified_before_date_time_utc`, date and time, required): Modified before date time utc.
- Page number (`page_number`, number): Defaults to 0. Default: `0`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Errors": [],
    "Kits": []
  }
}
```

### List locations

/getLocations.

**Inputs**: None.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Errors": [],
    "Items": [],
    "Status": "example"
  }
}
```

### List products

/getProducts.

**Inputs**

- Modified after date time utc (`modified_after_date_time_utc`, date and time): Modified product details after date time in UTC. Default: `minDate`.
- Modified before date time utc (`modified_before_date_time_utc`, date and time): Modified product details before date time in UTC. Default: `maxDate`.
- Page number (`page_number`, number): Page number starts with 0. Default: `0`.
- Page size (`page_size`, number): Should be between 1000 and 10000. Default: `10000`.
- Product codes (`product_codes`, list): Filter results by a list of Product Codes
- Product SKUs (`product_skus`, list): Filter results by a list of SKUs.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Products": []
  }
}
```

### List purchase orders

/getPOs.

**Inputs**

- Modified after date time utc (`modified_after_date_time_utc`, date and time): Modified after date time utc. Default: `minDate`.
- Modified before date time utc (`modified_before_date_time_utc`, date and time): Modified before date time utc. Default: `maxDate`.
- Status (`status`, text): We will return all POs that are not completed by Default. To get completed PO's, you must intentionally specify in the call. Possible values are: NoneReceived, PartiallyReceived, Completed, Cancelled. Default: `Everything except Completed`.
- Page number (`page_number`, number): 10,000 POs are returned per page. Defaults to 0. Default: `0`.
- Include products (`include_products`, true/false): Returns incoming product details in separate array. Default: `false`.
- Po numbers (`po_numbers`, list): A list of PO Numbers you can request data for. If using this parameter, the Date parameters and Status parameter is ignored.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "PurchaseOrders": []
  }
}
```

### List sales

/getSales.

**Inputs**

- Status (`status`, text): One of: ReadyToShip, Pending. Default: `ReadyToShip`.
- Order IDs (`order_ids`, list): This is a list of order IDs that you can query for. Max 10000 per call. If you query for orders, we will only return those orders and ignore the "Status" filter. Essentially, it overwrites this filter. Also, take note that you can only filter for orders that originated from the API if you send in an Order ID. If you send in the full SkuVault ID, it will…

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Sales": []
  }
}
```

### List serial numbers

/getSerialNumbers.

**Inputs**

- Product sku (`product_sku`, text, required): SKU of the serialized product

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Errors": [],
    "Items": [],
    "Status": "example"
  }
}
```

### List suppliers

/getSuppliers.

**Inputs**

- Page number (`page_number`, number): 10,000 results per page. Defaults to 0. Default: `0`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Supplier": []
  }
}
```

### List warehouses

/getWarehouses.

**Inputs**

- Page number (`page_number`, number): Page to return. Page number starts with 0. Default: `0`.

**Outputs**

- `data` (object): The response from SkuVault.

**Example output**

```json
{
  "data": {
    "Warehouses": []
  }
}
```
