Skip to content

Latest commit

 

History

History
133 lines (97 loc) · 3.63 KB

File metadata and controls

133 lines (97 loc) · 3.63 KB

Flipdish.Api.OrderBatchingConfigurationApi

All URIs are relative to https://api.flipdish.co

Method HTTP request Description
Get GET /api/v1.0/stores/{storeId}/order-batching-configuration
Post POST /api/v1.0/stores/{storeId}/order-batching-configuration

Get

RestApiResultOrderBatchingConfiguration Get (int? storeId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new OrderBatchingConfigurationApi();
            var storeId = 56;  // int? | 

            try
            {
                RestApiResultOrderBatchingConfiguration result = apiInstance.Get(storeId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderBatchingConfigurationApi.Get: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
storeId int?

Return type

RestApiResultOrderBatchingConfiguration

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

Post

void Post (int? storeId, SetOrderBatchingConfiguration setOrderBatchingConfiguration)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class PostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new OrderBatchingConfigurationApi();
            var storeId = 56;  // int? | 
            var setOrderBatchingConfiguration = new SetOrderBatchingConfiguration(); // SetOrderBatchingConfiguration | 

            try
            {
                apiInstance.Post(storeId, setOrderBatchingConfiguration);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderBatchingConfigurationApi.Post: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
storeId int?
setOrderBatchingConfiguration SetOrderBatchingConfiguration

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]