All URIs are relative to https://unify.apideck.com
Method | HTTP request | Description |
---|---|---|
CustomersAll | GET /ecommerce/customers | List Customers |
CustomersOne | GET /ecommerce/customers/{id} | Get Customer |
OrdersAll | GET /ecommerce/orders | List Orders |
OrdersOne | GET /ecommerce/orders/{id} | Get Order |
ProductsAll | GET /ecommerce/products | List Products |
ProductsOne | GET /ecommerce/products/{id} | Get Product |
StoresOne | GET /ecommerce/store | Get Store |
GetEcommerceCustomersResponse CustomersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, EcommerceCustomersFilter filter = null, PassThroughQuery passThrough = null, string fields = null)
List Customers
List Customers
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class CustomersAllExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20)
var filter = new EcommerceCustomersFilter(); // EcommerceCustomersFilter | Apply filters (optional)
var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// List Customers
GetEcommerceCustomersResponse result = apiInstance.CustomersAll(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.CustomersAll: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] |
limit | int? | Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] |
filter | EcommerceCustomersFilter | Apply filters | [optional] |
passThrough | PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Customers | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetEcommerceCustomerResponse CustomersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null)
Get Customer
Get Customer
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class CustomersOneExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var id = "id_example"; // string | ID of the record you are acting upon.
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// Get Customer
GetEcommerceCustomerResponse result = apiInstance.CustomersOne(id, consumerId, appId, serviceId, raw, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.CustomersOne: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Customers | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetEcommerceOrdersResponse OrdersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, EcommerceOrdersFilter filter = null, OrdersSort sort = null, PassThroughQuery passThrough = null, string fields = null)
List Orders
List Orders
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class OrdersAllExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20)
var filter = new EcommerceOrdersFilter(); // EcommerceOrdersFilter | Apply filters (optional)
var sort = new OrdersSort(); // OrdersSort | Apply sorting (optional)
var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// List Orders
GetEcommerceOrdersResponse result = apiInstance.OrdersAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.OrdersAll: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] |
limit | int? | Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] |
filter | EcommerceOrdersFilter | Apply filters | [optional] |
sort | OrdersSort | Apply sorting | [optional] |
passThrough | PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Orders | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetEcommerceOrderResponse OrdersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null)
Get Order
Get Order
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class OrdersOneExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var id = "id_example"; // string | ID of the record you are acting upon.
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// Get Order
GetEcommerceOrderResponse result = apiInstance.OrdersOne(id, consumerId, appId, serviceId, raw, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.OrdersOne: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Orders | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetProductsResponse ProductsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, PassThroughQuery passThrough = null, string fields = null)
List Products
List Products
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class ProductsAllExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20)
var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// List Products
GetProductsResponse result = apiInstance.ProductsAll(raw, consumerId, appId, serviceId, cursor, limit, passThrough, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.ProductsAll: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] |
limit | int? | Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] |
passThrough | PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Products | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetProductResponse ProductsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null)
Get Product
Get Product
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class ProductsOneExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var id = "id_example"; // string | ID of the record you are acting upon.
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// Get Product
GetProductResponse result = apiInstance.ProductsOne(id, consumerId, appId, serviceId, raw, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.ProductsOne: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Products | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetStoreResponse StoresOne (string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null)
Get Store
Get Store
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;
namespace Example
{
public class StoresOneExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new EcommerceApi(config);
var consumerId = test-consumer; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
var serviceId = salesforce; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
try
{
// Get Store
GetStoreResponse result = apiInstance.StoresOne(consumerId, appId, serviceId, raw, fields);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling EcommerceApi.StoresOne: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
consumerId | string | ID of the consumer which you want to get or push data from | [optional] |
appId | string | The ID of your Unify application | [optional] |
serviceId | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] |
raw | bool? | Include raw response. Mostly used for debugging purposes | [optional] [default to false] |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Stores | - |
400 | Bad Request | - |
401 | Unauthorized | - |
402 | Payment Required | - |
404 | The specified resource was not found | - |
422 | Unprocessable | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]