# Fortnox\FortnoxArticleUrlConnectionApi



All URIs are relative to https://api.fortnox.se, except if the operation defines another base path.

| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**itemUrlConnectionControllerDoCreate()**](FortnoxArticleUrlConnectionApi.md#itemUrlConnectionControllerDoCreate) | **POST** /3/articleurlconnections | Create an article url connection |
| [**itemUrlConnectionControllerDoDelete()**](FortnoxArticleUrlConnectionApi.md#itemUrlConnectionControllerDoDelete) | **DELETE** /3/articleurlconnections/{id} | Remove an article url connection |
| [**itemUrlConnectionControllerDoShow()**](FortnoxArticleUrlConnectionApi.md#itemUrlConnectionControllerDoShow) | **GET** /3/articleurlconnections/{id} | Retrieve a single article url connection |
| [**itemUrlConnectionControllerDoUpdate()**](FortnoxArticleUrlConnectionApi.md#itemUrlConnectionControllerDoUpdate) | **PUT** /3/articleurlconnections/{id} | Update an article url connection |


## `itemUrlConnectionControllerDoCreate()`

```php
itemUrlConnectionControllerDoCreate($article_url_connection): \Fortnox\Model\FortnoxItemUrlConnectionSingleItemWrap
```

Create an article url connection

Create an article url connection

### Example

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



$apiInstance = new Fortnox\Api\FortnoxArticleUrlConnectionApi(
    // 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()
);
$article_url_connection = new \Fortnox\Model\FortnoxItemUrlConnectionSinglePayloadItemWrap(); // \Fortnox\Model\FortnoxItemUrlConnectionSinglePayloadItemWrap | Request body for create article url connection

try {
    $result = $apiInstance->itemUrlConnectionControllerDoCreate($article_url_connection);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FortnoxArticleUrlConnectionApi->itemUrlConnectionControllerDoCreate: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **article_url_connection** | [**\Fortnox\Model\FortnoxItemUrlConnectionSinglePayloadItemWrap**](../Model/FortnoxItemUrlConnectionSinglePayloadItemWrap.md)| Request body for create article url connection | [optional] |

### Return type

[**\Fortnox\Model\FortnoxItemUrlConnectionSingleItemWrap**](../Model/FortnoxItemUrlConnectionSingleItemWrap.md)

### Authorization

No authorization required

### HTTP request headers

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

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

## `itemUrlConnectionControllerDoDelete()`

```php
itemUrlConnectionControllerDoDelete($id)
```

Remove an article url connection

Delete an article url connection

### Example

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



$apiInstance = new Fortnox\Api\FortnoxArticleUrlConnectionApi(
    // 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()
);
$id = 'id_example'; // string | identifies the article url connection

try {
    $apiInstance->itemUrlConnectionControllerDoDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling FortnoxArticleUrlConnectionApi->itemUrlConnectionControllerDoDelete: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| identifies the article url connection | |

### Return type

void (empty response body)

### Authorization

No authorization required

### HTTP request headers

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

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

## `itemUrlConnectionControllerDoShow()`

```php
itemUrlConnectionControllerDoShow($id): \Fortnox\Model\FortnoxItemUrlConnectionSingleItemWrap
```

Retrieve a single article url connection

Retrieve an article url connection

### Example

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



$apiInstance = new Fortnox\Api\FortnoxArticleUrlConnectionApi(
    // 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()
);
$id = 'id_example'; // string | identifies the article url connection

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

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| identifies the article url connection | |

### Return type

[**\Fortnox\Model\FortnoxItemUrlConnectionSingleItemWrap**](../Model/FortnoxItemUrlConnectionSingleItemWrap.md)

### Authorization

No authorization required

### HTTP request headers

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

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

## `itemUrlConnectionControllerDoUpdate()`

```php
itemUrlConnectionControllerDoUpdate($id, $article_url_connection): \Fortnox\Model\FortnoxItemUrlConnectionSingleItemWrap
```

Update an article url connection

Update an article url connection

### Example

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



$apiInstance = new Fortnox\Api\FortnoxArticleUrlConnectionApi(
    // 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()
);
$id = 'id_example'; // string | Id of article url connection to update
$article_url_connection = new \Fortnox\Model\FortnoxItemUrlConnectionSinglePayloadItemWrap(); // \Fortnox\Model\FortnoxItemUrlConnectionSinglePayloadItemWrap | Request body for update article url connection

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

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| Id of article url connection to update | |
| **article_url_connection** | [**\Fortnox\Model\FortnoxItemUrlConnectionSinglePayloadItemWrap**](../Model/FortnoxItemUrlConnectionSinglePayloadItemWrap.md)| Request body for update article url connection | [optional] |

### Return type

[**\Fortnox\Model\FortnoxItemUrlConnectionSingleItemWrap**](../Model/FortnoxItemUrlConnectionSingleItemWrap.md)

### Authorization

No authorization required

### HTTP request headers

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

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