# Magento2\InventoryExportStockApiExportStockIndexDataV1Api

All URIs are relative to https://magento2.talisman-innovations.com/rest/default.

Method | HTTP request | Description
------------- | ------------- | -------------
[**inventoryExportStockApiExportStockIndexDataV1ExecuteGet()**](InventoryExportStockApiExportStockIndexDataV1Api.md#inventoryExportStockApiExportStockIndexDataV1ExecuteGet) | **GET** /V1/inventory/dump-stock-index-data/{salesChannelType}/{salesChannelCode} | 


## `inventoryExportStockApiExportStockIndexDataV1ExecuteGet()`

```php
inventoryExportStockApiExportStockIndexDataV1ExecuteGet($sales_channel_type, $sales_channel_code): \Magento2\Model\InventoryExportStockApiDataProductStockIndexDataInterface[]
```



Provides stock index export from inventory_stock_% table

### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Magento2\Api\InventoryExportStockApiExportStockIndexDataV1Api(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$sales_channel_type = 'sales_channel_type_example'; // string
$sales_channel_code = 'sales_channel_code_example'; // string

try {
    $result = $apiInstance->inventoryExportStockApiExportStockIndexDataV1ExecuteGet($sales_channel_type, $sales_channel_code);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InventoryExportStockApiExportStockIndexDataV1Api->inventoryExportStockApiExportStockIndexDataV1ExecuteGet: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **sales_channel_type** | **string**|  |
 **sales_channel_code** | **string**|  |

### Return type

[**\Magento2\Model\InventoryExportStockApiDataProductStockIndexDataInterface[]**](../Model/InventoryExportStockApiDataProductStockIndexDataInterface.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `*/*`

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
