# EyondCoreApi.OrderFulfillmentsApi

All URIs are relative to *https://eyondcoreapi.azurewebsites.net*

Method | HTTP request | Description
------------- | ------------- | -------------
[**deleteOrderFulfillment**](OrderFulfillmentsApi.md#deleteOrderFulfillment) | **DELETE** /api/OrderFulfillments/delete/client/{clientId}/order/{orderId}/fulfillment/{fulId} | 
[**getOrderFulfillment**](OrderFulfillmentsApi.md#getOrderFulfillment) | **GET** /api/OrderFulfillments/client/{clientId}/order/{orderId}/fulfillment/{fulId} | 
[**getOrderFulfillments**](OrderFulfillmentsApi.md#getOrderFulfillments) | **GET** /api/OrderFulfillments/{clientId} | 
[**getOrderFulfillments_0**](OrderFulfillmentsApi.md#getOrderFulfillments_0) | **GET** /api/OrderFulfillments/client/{clientId}/order/{orderId} | 
[**postOrderFulfillment**](OrderFulfillmentsApi.md#postOrderFulfillment) | **POST** /api/OrderFulfillments/add | 
[**putOrderFulfillment**](OrderFulfillmentsApi.md#putOrderFulfillment) | **PUT** /api/OrderFulfillments/modify/client/{clientId}/order/{orderId}/fulfillment/{fulId} | 


<a name="deleteOrderFulfillment"></a>
# **deleteOrderFulfillment**
> OrderFulfillment deleteOrderFulfillment(clientId, orderId, fulId)



### Example
```javascript
var EyondCoreApi = require('eyond_core_api');
var defaultClient = EyondCoreApi.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new EyondCoreApi.OrderFulfillmentsApi();

var clientId = 789; // Number | 

var orderId = 789; // Number | 

var fulId = 789; // Number | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.deleteOrderFulfillment(clientId, orderId, fulId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **clientId** | **Number**|  | 
 **orderId** | **Number**|  | 
 **fulId** | **Number**|  | 

### Return type

[**OrderFulfillment**](OrderFulfillment.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="getOrderFulfillment"></a>
# **getOrderFulfillment**
> OrderFulfillment getOrderFulfillment(clientId, orderId, fulId)



### Example
```javascript
var EyondCoreApi = require('eyond_core_api');
var defaultClient = EyondCoreApi.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new EyondCoreApi.OrderFulfillmentsApi();

var clientId = 789; // Number | 

var orderId = 789; // Number | 

var fulId = 789; // Number | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getOrderFulfillment(clientId, orderId, fulId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **clientId** | **Number**|  | 
 **orderId** | **Number**|  | 
 **fulId** | **Number**|  | 

### Return type

[**OrderFulfillment**](OrderFulfillment.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="getOrderFulfillments"></a>
# **getOrderFulfillments**
> [OrderFulfillment] getOrderFulfillments(clientId)



### Example
```javascript
var EyondCoreApi = require('eyond_core_api');
var defaultClient = EyondCoreApi.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new EyondCoreApi.OrderFulfillmentsApi();

var clientId = 789; // Number | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getOrderFulfillments(clientId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **clientId** | **Number**|  | 

### Return type

[**[OrderFulfillment]**](OrderFulfillment.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="getOrderFulfillments_0"></a>
# **getOrderFulfillments_0**
> [OrderFulfillment] getOrderFulfillments_0(clientId, orderId)



### Example
```javascript
var EyondCoreApi = require('eyond_core_api');
var defaultClient = EyondCoreApi.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new EyondCoreApi.OrderFulfillmentsApi();

var clientId = 789; // Number | 

var orderId = 789; // Number | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getOrderFulfillments_0(clientId, orderId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **clientId** | **Number**|  | 
 **orderId** | **Number**|  | 

### Return type

[**[OrderFulfillment]**](OrderFulfillment.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="postOrderFulfillment"></a>
# **postOrderFulfillment**
> OrderFulfillment postOrderFulfillment(opts)



### Example
```javascript
var EyondCoreApi = require('eyond_core_api');
var defaultClient = EyondCoreApi.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new EyondCoreApi.OrderFulfillmentsApi();

var opts = { 
  'fulfillmentModel': new EyondCoreApi.OrderFulfillment() // OrderFulfillment | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.postOrderFulfillment(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **fulfillmentModel** | [**OrderFulfillment**](OrderFulfillment.md)|  | [optional] 

### Return type

[**OrderFulfillment**](OrderFulfillment.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="putOrderFulfillment"></a>
# **putOrderFulfillment**
> putOrderFulfillment(clientId, orderId, fulId, opts)



### Example
```javascript
var EyondCoreApi = require('eyond_core_api');
var defaultClient = EyondCoreApi.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new EyondCoreApi.OrderFulfillmentsApi();

var clientId = 789; // Number | 

var orderId = 789; // Number | 

var fulId = 789; // Number | 

var opts = { 
  'fulfillmentModel': new EyondCoreApi.OrderFulfillment() // OrderFulfillment | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.putOrderFulfillment(clientId, orderId, fulId, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **clientId** | **Number**|  | 
 **orderId** | **Number**|  | 
 **fulId** | **Number**|  | 
 **fulfillmentModel** | [**OrderFulfillment**](OrderFulfillment.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: Not defined

