# Sylius\ProductBundleItemApi

Resource &#39;ProductBundleItem&#39; operations.

All URIs are relative to http://localhost, except if the operation defines another base path.

| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**shopGetProductBundleItem()**](ProductBundleItemApi.md#shopGetProductBundleItem) | **GET** /api/v2/shop/product-bundle-items/{id} | Retrieves a ProductBundleItem resource. |


## `shopGetProductBundleItem()`

```php
shopGetProductBundleItem($id, $accept_language): \Sylius\Model\ProductBundleItemJsonldShopProductBundleItemsRead
```

Retrieves a ProductBundleItem resource.

Retrieves a ProductBundleItem resource.

### Example

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


// Configure Bearer (JWT) authorization: JWT
$config = Sylius\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Sylius\Api\ProductBundleItemApi(
    // 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(),
    $config
);
$id = 'id_example'; // string | ProductBundleItem identifier
$accept_language = 'accept_language_example'; // string | Locales in this enum are all locales defined in the shop and only enabled ones will work in the given channel in the shop.

try {
    $result = $apiInstance->shopGetProductBundleItem($id, $accept_language);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductBundleItemApi->shopGetProductBundleItem: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| ProductBundleItem identifier | |
| **accept_language** | **string**| Locales in this enum are all locales defined in the shop and only enabled ones will work in the given channel in the shop. | [optional] |

### Return type

[**\Sylius\Model\ProductBundleItemJsonldShopProductBundleItemsRead**](../Model/ProductBundleItemJsonldShopProductBundleItemsRead.md)

### Authorization

[JWT](../../README.md#JWT)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `application/ld+json`, `application/json`, `application/problem+json`

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