Sha256: 1d6bb7dc577fe5e74f2c1ce06c6c3e4a9955bfc09fc62a7cd976cde47578618e

Contents?: true

Size: 709 Bytes

Versions: 5

Compression:

Stored size: 709 Bytes

Contents

# Product resource

## GET

```ruby
DearInventory::ProductAvailability.index
DearInventory::ProductAvailability.()
```

### Parameters
| Name | Type | Required |
| --- | --- | --- |
| id | String | false |
| page | Integer | false |
| limit | Integer | false |
| name | String | false |
| sku | String | false |
| location | String | false |
| batch | String | false |
| category | String | false |

### Response

The index endpoint returns a paginated set of records.

To see what data is available in the response, you can call the `field` method:

```ruby
response = DearInventory::ProductAvailability.()
response.fields # [:records, :total, :page, :product_availabilities]
records = response.records
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 docs/resources/product_availability.md
dear_inventory-1.3.0 docs/resources/product_availability.md
dear_inventory-1.2.0 docs/resources/product_availability.md
dear_inventory-1.1.1 docs/resources/product_availability.md
dear_inventory-1.1.0 docs/resources/product_availability.md