Zoomici API Documentation

Marketplace

getMarketplaceActivePhpGet

Retrieve the list of active marketplaces


/getMarketplaceActive.php

Usage and SDK Samples

curl -X GET\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/getMarketplaceActive.php?ZOOMICI_ID=&ZOOMICI_PASS="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

import java.io.File;
import java.util.*;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        try {
            MarketplaceResponse result = apiInstance.getMarketplaceActivePhpGet(zOOMICIID, zOOMICIPASS);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#getMarketplaceActivePhpGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        try {
            MarketplaceResponse result = apiInstance.getMarketplaceActivePhpGet(zOOMICIID, zOOMICIPASS);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#getMarketplaceActivePhpGet");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 

MarketplaceApi *apiInstance = [[MarketplaceApi alloc] init];

// Retrieve the list of active marketplaces
[apiInstance getMarketplaceActivePhpGetWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
              completionHandler: ^(MarketplaceResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.MarketplaceApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getMarketplaceActivePhpGet(zOOMICIID, zOOMICIPASS, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getMarketplaceActivePhpGetExample
    {
        public void main()
        {

            var apiInstance = new MarketplaceApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 

            try
            {
                // Retrieve the list of active marketplaces
                MarketplaceResponse result = apiInstance.getMarketplaceActivePhpGet(zOOMICIID, zOOMICIPASS);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.getMarketplaceActivePhpGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 

try {
    $result = $api_instance->getMarketplaceActivePhpGet($zOOMICIID, $zOOMICIPASS);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MarketplaceApi->getMarketplaceActivePhpGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MarketplaceApi;

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 

eval { 
    my $result = $api_instance->getMarketplaceActivePhpGet(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->getMarketplaceActivePhpGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 

try: 
    # Retrieve the list of active marketplaces
    api_response = api_instance.get_marketplace_active_php_get(zOOMICIID, zOOMICIPASS)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->getMarketplaceActivePhpGet: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required

Responses

Status: default - Retrieve the list of active marketplaces, if error, return <br> *<?xml version="1.0" encoding="UTF-8" ?> <br> <response> <br> <statut>failed</statut> <br> <label_error>There is no marketplace available</label_error> <br> </response>*


getMarketplaceActivePhpPost

Retrieve the list of active marketplaces


/getMarketplaceActive.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/getMarketplaceActive.php?ZOOMICI_ID=&ZOOMICI_PASS="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

import java.io.File;
import java.util.*;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        try {
            MarketplaceResponse result = apiInstance.getMarketplaceActivePhpPost(zOOMICIID, zOOMICIPASS);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#getMarketplaceActivePhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        try {
            MarketplaceResponse result = apiInstance.getMarketplaceActivePhpPost(zOOMICIID, zOOMICIPASS);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#getMarketplaceActivePhpPost");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 

MarketplaceApi *apiInstance = [[MarketplaceApi alloc] init];

// Retrieve the list of active marketplaces
[apiInstance getMarketplaceActivePhpPostWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
              completionHandler: ^(MarketplaceResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.MarketplaceApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getMarketplaceActivePhpPost(zOOMICIID, zOOMICIPASS, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getMarketplaceActivePhpPostExample
    {
        public void main()
        {

            var apiInstance = new MarketplaceApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 

            try
            {
                // Retrieve the list of active marketplaces
                MarketplaceResponse result = apiInstance.getMarketplaceActivePhpPost(zOOMICIID, zOOMICIPASS);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.getMarketplaceActivePhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 

try {
    $result = $api_instance->getMarketplaceActivePhpPost($zOOMICIID, $zOOMICIPASS);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MarketplaceApi->getMarketplaceActivePhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MarketplaceApi;

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 

eval { 
    my $result = $api_instance->getMarketplaceActivePhpPost(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->getMarketplaceActivePhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 

try: 
    # Retrieve the list of active marketplaces
    api_response = api_instance.get_marketplace_active_php_post(zOOMICIID, zOOMICIPASS)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->getMarketplaceActivePhpPost: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required

Responses

Status: default - Retrieve the list of active marketplaces, if error, return <br> *<?xml version="1.0" encoding="UTF-8" ?> <br> <response> <br> <statut>failed</statut> <br> <label_error>There is no marketplace available</label_error> <br> </response>*


supplierProductsIntegrationPhpGet

Retrieve the details of product integration


/supplierProductsIntegration.php

Usage and SDK Samples

curl -X GET\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/supplierProductsIntegration.php?ZOOMICI_ID=&ZOOMICI_PASS=&orderNumber="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

import java.io.File;
import java.util.*;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            ProductResponse result = apiInstance.supplierProductsIntegrationPhpGet(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#supplierProductsIntegrationPhpGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            ProductResponse result = apiInstance.supplierProductsIntegrationPhpGet(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#supplierProductsIntegrationPhpGet");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
String *orderNumber = orderNumber_example; // 

MarketplaceApi *apiInstance = [[MarketplaceApi alloc] init];

// Retrieve the details of product integration
[apiInstance supplierProductsIntegrationPhpGetWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    orderNumber:orderNumber
              completionHandler: ^(ProductResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.MarketplaceApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var orderNumber = orderNumber_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.supplierProductsIntegrationPhpGet(zOOMICIID, zOOMICIPASS, orderNumber, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class supplierProductsIntegrationPhpGetExample
    {
        public void main()
        {

            var apiInstance = new MarketplaceApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var orderNumber = orderNumber_example;  // String | 

            try
            {
                // Retrieve the details of product integration
                ProductResponse result = apiInstance.supplierProductsIntegrationPhpGet(zOOMICIID, zOOMICIPASS, orderNumber);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.supplierProductsIntegrationPhpGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$orderNumber = orderNumber_example; // String | 

try {
    $result = $api_instance->supplierProductsIntegrationPhpGet($zOOMICIID, $zOOMICIPASS, $orderNumber);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MarketplaceApi->supplierProductsIntegrationPhpGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MarketplaceApi;

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $orderNumber = orderNumber_example; # String | 

eval { 
    my $result = $api_instance->supplierProductsIntegrationPhpGet(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, orderNumber => $orderNumber);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->supplierProductsIntegrationPhpGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
orderNumber = orderNumber_example # String | 

try: 
    # Retrieve the details of product integration
    api_response = api_instance.supplier_products_integration_php_get(zOOMICIID, zOOMICIPASS, orderNumber)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->supplierProductsIntegrationPhpGet: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
orderNumber*
String
Required

Responses

Status: default - Return the detail of product integration, if error, return <br> *<?xml version="1.0" encoding="UTF-8" ?> <br> <response> <br> <statut>failed</statut> <br> <label_error></label_error> <br> </response>*


Order

cancelOrderPhpPost

This method is used to tell Zoomici that the command specified as a parameter has been denied. As soon as a command is refused, it will no longer appear in the list of commands returned by the «getOrders» method and will be refunded to the client. This method will place the order in «CanceledOrder» status.


/cancelOrder.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/cancelOrder.php?ZOOMICI_ID=&ZOOMICI_PASS=&orderNumber="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

import java.io.File;
import java.util.*;

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            Response result = apiInstance.cancelOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#cancelOrderPhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            Response result = apiInstance.cancelOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#cancelOrderPhpPost");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
String *orderNumber = orderNumber_example; // 

OrderApi *apiInstance = [[OrderApi alloc] init];

// This method is used to tell Zoomici that the command specified as a parameter has been denied. As soon as a command is refused, it will no longer appear in the list of commands returned by the «getOrders» method and will be refunded to the client. This method will place the order in «CanceledOrder» status.
[apiInstance cancelOrderPhpPostWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    orderNumber:orderNumber
              completionHandler: ^(Response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.OrderApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var orderNumber = orderNumber_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cancelOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cancelOrderPhpPostExample
    {
        public void main()
        {

            var apiInstance = new OrderApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var orderNumber = orderNumber_example;  // String | 

            try
            {
                // This method is used to tell Zoomici that the command specified as a parameter has been denied. As soon as a command is refused, it will no longer appear in the list of commands returned by the «getOrders» method and will be refunded to the client. This method will place the order in «CanceledOrder» status.
                Response result = apiInstance.cancelOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderApi.cancelOrderPhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiOrderApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$orderNumber = orderNumber_example; // String | 

try {
    $result = $api_instance->cancelOrderPhpPost($zOOMICIID, $zOOMICIPASS, $orderNumber);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->cancelOrderPhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $orderNumber = orderNumber_example; # String | 

eval { 
    my $result = $api_instance->cancelOrderPhpPost(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, orderNumber => $orderNumber);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->cancelOrderPhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.OrderApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
orderNumber = orderNumber_example # String | 

try: 
    # This method is used to tell Zoomici that the command specified as a parameter has been denied. As soon as a command is refused, it will no longer appear in the list of commands returned by the «getOrders» method and will be refunded to the client. This method will place the order in «CanceledOrder» status.
    api_response = api_instance.cancel_order_php_post(zOOMICIID, zOOMICIPASS, orderNumber)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->cancelOrderPhpPost: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
orderNumber*
String
Required

Responses

Status: default - Return code


getOrdersPhpGet

Retrieve the list of commands awaiting processing.


/getOrders.php

Usage and SDK Samples

curl -X GET\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/getOrders.php?ZOOMICI_ID=&ZOOMICI_PASS="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

import java.io.File;
import java.util.*;

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        try {
            Orders result = apiInstance.getOrdersPhpGet(zOOMICIID, zOOMICIPASS);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#getOrdersPhpGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        try {
            Orders result = apiInstance.getOrdersPhpGet(zOOMICIID, zOOMICIPASS);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#getOrdersPhpGet");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 

OrderApi *apiInstance = [[OrderApi alloc] init];

// Retrieve the list of commands awaiting processing.
[apiInstance getOrdersPhpGetWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
              completionHandler: ^(Orders output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.OrderApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getOrdersPhpGet(zOOMICIID, zOOMICIPASS, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOrdersPhpGetExample
    {
        public void main()
        {

            var apiInstance = new OrderApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 

            try
            {
                // Retrieve the list of commands awaiting processing.
                Orders result = apiInstance.getOrdersPhpGet(zOOMICIID, zOOMICIPASS);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderApi.getOrdersPhpGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiOrderApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 

try {
    $result = $api_instance->getOrdersPhpGet($zOOMICIID, $zOOMICIPASS);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->getOrdersPhpGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 

eval { 
    my $result = $api_instance->getOrdersPhpGet(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->getOrdersPhpGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.OrderApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 

try: 
    # Retrieve the list of commands awaiting processing.
    api_response = api_instance.get_orders_php_get(zOOMICIID, zOOMICIPASS)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->getOrdersPhpGet: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required

Responses

Status: default - List of commands, contained in the field « orders» or Error


sendTrackingCodePhpPost

This method is used to tell Zoomici that the command specified as a parameter has been shipped


/sendTrackingCode.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/sendTrackingCode.php?ZOOMICI_ID=&ZOOMICI_PASS=&orderNumber=&trackingCode=&shippingMethod=&productNumber=&productQty="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

import java.io.File;
import java.util.*;

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        String trackingCode = trackingCode_example; // String | 
        String shippingMethod = shippingMethod_example; // String | 
        String productNumber = productNumber_example; // String | 
        String productQty = productQty_example; // String | 
        try {
            Response result = apiInstance.sendTrackingCodePhpPost(zOOMICIID, zOOMICIPASS, orderNumber, trackingCode, shippingMethod, productNumber, productQty);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#sendTrackingCodePhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        String trackingCode = trackingCode_example; // String | 
        String shippingMethod = shippingMethod_example; // String | 
        String productNumber = productNumber_example; // String | 
        String productQty = productQty_example; // String | 
        try {
            Response result = apiInstance.sendTrackingCodePhpPost(zOOMICIID, zOOMICIPASS, orderNumber, trackingCode, shippingMethod, productNumber, productQty);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#sendTrackingCodePhpPost");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
String *orderNumber = orderNumber_example; // 
String *trackingCode = trackingCode_example; // 
String *shippingMethod = shippingMethod_example; // 
String *productNumber = productNumber_example; //  (optional)
String *productQty = productQty_example; //  (optional)

OrderApi *apiInstance = [[OrderApi alloc] init];

// This method is used to tell Zoomici that the command specified as a parameter has been shipped
[apiInstance sendTrackingCodePhpPostWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    orderNumber:orderNumber
    trackingCode:trackingCode
    shippingMethod:shippingMethod
    productNumber:productNumber
    productQty:productQty
              completionHandler: ^(Response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.OrderApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var orderNumber = orderNumber_example; // {{String}} 
var trackingCode = trackingCode_example; // {{String}} 
var shippingMethod = shippingMethod_example; // {{String}} 
var opts = { 
  'productNumber': productNumber_example, // {{String}} 
  'productQty': productQty_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sendTrackingCodePhpPost(zOOMICIID, zOOMICIPASS, orderNumber, trackingCode, shippingMethod, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sendTrackingCodePhpPostExample
    {
        public void main()
        {

            var apiInstance = new OrderApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var orderNumber = orderNumber_example;  // String | 
            var trackingCode = trackingCode_example;  // String | 
            var shippingMethod = shippingMethod_example;  // String | 
            var productNumber = productNumber_example;  // String |  (optional) 
            var productQty = productQty_example;  // String |  (optional) 

            try
            {
                // This method is used to tell Zoomici that the command specified as a parameter has been shipped
                Response result = apiInstance.sendTrackingCodePhpPost(zOOMICIID, zOOMICIPASS, orderNumber, trackingCode, shippingMethod, productNumber, productQty);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderApi.sendTrackingCodePhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiOrderApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$orderNumber = orderNumber_example; // String | 
$trackingCode = trackingCode_example; // String | 
$shippingMethod = shippingMethod_example; // String | 
$productNumber = productNumber_example; // String | 
$productQty = productQty_example; // String | 

try {
    $result = $api_instance->sendTrackingCodePhpPost($zOOMICIID, $zOOMICIPASS, $orderNumber, $trackingCode, $shippingMethod, $productNumber, $productQty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->sendTrackingCodePhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $orderNumber = orderNumber_example; # String | 
my $trackingCode = trackingCode_example; # String | 
my $shippingMethod = shippingMethod_example; # String | 
my $productNumber = productNumber_example; # String | 
my $productQty = productQty_example; # String | 

eval { 
    my $result = $api_instance->sendTrackingCodePhpPost(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, orderNumber => $orderNumber, trackingCode => $trackingCode, shippingMethod => $shippingMethod, productNumber => $productNumber, productQty => $productQty);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->sendTrackingCodePhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.OrderApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
orderNumber = orderNumber_example # String | 
trackingCode = trackingCode_example # String | 
shippingMethod = shippingMethod_example # String | 
productNumber = productNumber_example # String |  (optional)
productQty = productQty_example # String |  (optional)

try: 
    # This method is used to tell Zoomici that the command specified as a parameter has been shipped
    api_response = api_instance.send_tracking_code_php_post(zOOMICIID, zOOMICIPASS, orderNumber, trackingCode, shippingMethod, productNumber=productNumber, productQty=productQty)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->sendTrackingCodePhpPost: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
orderNumber*
String
Required
trackingCode*
String
Required
shippingMethod*
String
Required
productNumber
String
productQty
String

Responses

Status: default - Return code


validateOrderPhpGet

This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"


/validateOrder.php

Usage and SDK Samples

curl -X GET\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/validateOrder.php?ZOOMICI_ID=&ZOOMICI_PASS=&orderNumber="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

import java.io.File;
import java.util.*;

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            Response result = apiInstance.validateOrderPhpGet(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#validateOrderPhpGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            Response result = apiInstance.validateOrderPhpGet(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#validateOrderPhpGet");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
String *orderNumber = orderNumber_example; // 

OrderApi *apiInstance = [[OrderApi alloc] init];

// This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"
[apiInstance validateOrderPhpGetWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    orderNumber:orderNumber
              completionHandler: ^(Response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.OrderApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var orderNumber = orderNumber_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.validateOrderPhpGet(zOOMICIID, zOOMICIPASS, orderNumber, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class validateOrderPhpGetExample
    {
        public void main()
        {

            var apiInstance = new OrderApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var orderNumber = orderNumber_example;  // String | 

            try
            {
                // This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"
                Response result = apiInstance.validateOrderPhpGet(zOOMICIID, zOOMICIPASS, orderNumber);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderApi.validateOrderPhpGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiOrderApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$orderNumber = orderNumber_example; // String | 

try {
    $result = $api_instance->validateOrderPhpGet($zOOMICIID, $zOOMICIPASS, $orderNumber);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->validateOrderPhpGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $orderNumber = orderNumber_example; # String | 

eval { 
    my $result = $api_instance->validateOrderPhpGet(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, orderNumber => $orderNumber);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->validateOrderPhpGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.OrderApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
orderNumber = orderNumber_example # String | 

try: 
    # This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"
    api_response = api_instance.validate_order_php_get(zOOMICIID, zOOMICIPASS, orderNumber)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->validateOrderPhpGet: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
orderNumber*
String
Required

Responses

Status: default - Return code


validateOrderPhpPost

This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"


/validateOrder.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/validateOrder.php?ZOOMICI_ID=&ZOOMICI_PASS=&orderNumber="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

import java.io.File;
import java.util.*;

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            Response result = apiInstance.validateOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#validateOrderPhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String orderNumber = orderNumber_example; // String | 
        try {
            Response result = apiInstance.validateOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#validateOrderPhpPost");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
String *orderNumber = orderNumber_example; // 

OrderApi *apiInstance = [[OrderApi alloc] init];

// This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"
[apiInstance validateOrderPhpPostWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    orderNumber:orderNumber
              completionHandler: ^(Response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.OrderApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var orderNumber = orderNumber_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.validateOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class validateOrderPhpPostExample
    {
        public void main()
        {

            var apiInstance = new OrderApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var orderNumber = orderNumber_example;  // String | 

            try
            {
                // This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"
                Response result = apiInstance.validateOrderPhpPost(zOOMICIID, zOOMICIPASS, orderNumber);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderApi.validateOrderPhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiOrderApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$orderNumber = orderNumber_example; // String | 

try {
    $result = $api_instance->validateOrderPhpPost($zOOMICIID, $zOOMICIPASS, $orderNumber);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->validateOrderPhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $orderNumber = orderNumber_example; # String | 

eval { 
    my $result = $api_instance->validateOrderPhpPost(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, orderNumber => $orderNumber);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->validateOrderPhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.OrderApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
orderNumber = orderNumber_example # String | 

try: 
    # This method is used to tell Zoomici that the command specified as a parameter has been taken into account. As soon as a command is accepted, it no longer appears in the list of commands returned by the "getOrders" method. This method will place the order in status "Order in preparation"
    api_response = api_instance.validate_order_php_post(zOOMICIID, zOOMICIPASS, orderNumber)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->validateOrderPhpPost: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
orderNumber*
String
Required

Responses

Status: default - Return code


Prestashop

sendInvoiceOrCreditNotePhpPost

This method is used to send Zoomici the invoice or the credit note for a supplier.


/sendInvoiceOrCreditNote.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/sendInvoiceOrCreditNote.php?ZOOMICI_ID=&ZOOMICI_PASS=&type=&file=&content_file="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PrestashopApi;

import java.io.File;
import java.util.*;

public class PrestashopApiExample {

    public static void main(String[] args) {
        
        PrestashopApi apiInstance = new PrestashopApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String type = type_example; // String | 
        String file = file_example; // String | 
        invoiceXmlExample contentFile = ; // invoiceXmlExample | 
        try {
            Response result = apiInstance.sendInvoiceOrCreditNotePhpPost(zOOMICIID, zOOMICIPASS, type, file, contentFile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PrestashopApi#sendInvoiceOrCreditNotePhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PrestashopApi;

public class PrestashopApiExample {

    public static void main(String[] args) {
        PrestashopApi apiInstance = new PrestashopApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        String type = type_example; // String | 
        String file = file_example; // String | 
        invoiceXmlExample contentFile = ; // invoiceXmlExample | 
        try {
            Response result = apiInstance.sendInvoiceOrCreditNotePhpPost(zOOMICIID, zOOMICIPASS, type, file, contentFile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PrestashopApi#sendInvoiceOrCreditNotePhpPost");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
String *type = type_example; // 
String *file = file_example; // 
invoiceXmlExample *contentFile = ; // 

PrestashopApi *apiInstance = [[PrestashopApi alloc] init];

// This method is used to send Zoomici the invoice or the credit note for a supplier.
[apiInstance sendInvoiceOrCreditNotePhpPostWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    type:type
    file:file
    contentFile:contentFile
              completionHandler: ^(Response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.PrestashopApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var type = type_example; // {{String}} 
var file = file_example; // {{String}} 
var contentFile = ; // {{invoiceXmlExample}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sendInvoiceOrCreditNotePhpPost(zOOMICIID, zOOMICIPASS, type, file, contentFile, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sendInvoiceOrCreditNotePhpPostExample
    {
        public void main()
        {

            var apiInstance = new PrestashopApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var type = type_example;  // String | 
            var file = file_example;  // String | 
            var contentFile = new invoiceXmlExample(); // invoiceXmlExample | 

            try
            {
                // This method is used to send Zoomici the invoice or the credit note for a supplier.
                Response result = apiInstance.sendInvoiceOrCreditNotePhpPost(zOOMICIID, zOOMICIPASS, type, file, contentFile);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PrestashopApi.sendInvoiceOrCreditNotePhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiPrestashopApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$type = type_example; // String | 
$file = file_example; // String | 
$contentFile = ; // invoiceXmlExample | 

try {
    $result = $api_instance->sendInvoiceOrCreditNotePhpPost($zOOMICIID, $zOOMICIPASS, $type, $file, $contentFile);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PrestashopApi->sendInvoiceOrCreditNotePhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PrestashopApi;

my $api_instance = WWW::SwaggerClient::PrestashopApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $type = type_example; # String | 
my $file = file_example; # String | 
my $contentFile = ; # invoiceXmlExample | 

eval { 
    my $result = $api_instance->sendInvoiceOrCreditNotePhpPost(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, type => $type, file => $file, contentFile => $contentFile);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PrestashopApi->sendInvoiceOrCreditNotePhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PrestashopApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
type = type_example # String | 
file = file_example # String | 
contentFile =  # invoiceXmlExample | 

try: 
    # This method is used to send Zoomici the invoice or the credit note for a supplier.
    api_response = api_instance.send_invoice_or_credit_note_php_post(zOOMICIID, zOOMICIPASS, type, file, contentFile)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PrestashopApi->sendInvoiceOrCreditNotePhpPost: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
type*
String
Required
file*
String
Required
content_file*
invoiceXmlExample
Required

Responses

Status: default - Return code


supplierWSPrestashopPhpPost

Creates a new supplier and return API's code


/supplierWSPrestashop.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
-H "Content-Type: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/supplierWSPrestashop.php"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PrestashopApi;

import java.io.File;
import java.util.*;

public class PrestashopApiExample {

    public static void main(String[] args) {
        
        PrestashopApi apiInstance = new PrestashopApi();
        Prestashop body = ; // Prestashop | The supplier to create
        try {
            SupplierResponse result = apiInstance.supplierWSPrestashopPhpPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PrestashopApi#supplierWSPrestashopPhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PrestashopApi;

public class PrestashopApiExample {

    public static void main(String[] args) {
        PrestashopApi apiInstance = new PrestashopApi();
        Prestashop body = ; // Prestashop | The supplier to create
        try {
            SupplierResponse result = apiInstance.supplierWSPrestashopPhpPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PrestashopApi#supplierWSPrestashopPhpPost");
            e.printStackTrace();
        }
    }
}
Prestashop *body = ; // The supplier to create (optional)

PrestashopApi *apiInstance = [[PrestashopApi alloc] init];

// Creates a new supplier and return API's code
[apiInstance supplierWSPrestashopPhpPostWith:body
              completionHandler: ^(SupplierResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.PrestashopApi()
var opts = { 
  'body':  // {{Prestashop}} The supplier to create
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.supplierWSPrestashopPhpPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class supplierWSPrestashopPhpPostExample
    {
        public void main()
        {

            var apiInstance = new PrestashopApi();
            var body = new Prestashop(); // Prestashop | The supplier to create (optional) 

            try
            {
                // Creates a new supplier and return API's code
                SupplierResponse result = apiInstance.supplierWSPrestashopPhpPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PrestashopApi.supplierWSPrestashopPhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiPrestashopApi();
$body = ; // Prestashop | The supplier to create

try {
    $result = $api_instance->supplierWSPrestashopPhpPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PrestashopApi->supplierWSPrestashopPhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PrestashopApi;

my $api_instance = WWW::SwaggerClient::PrestashopApi->new();
my $body = WWW::SwaggerClient::Object::Prestashop->new(); # Prestashop | The supplier to create

eval { 
    my $result = $api_instance->supplierWSPrestashopPhpPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PrestashopApi->supplierWSPrestashopPhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PrestashopApi()
body =  # Prestashop | The supplier to create (optional)

try: 
    # Creates a new supplier and return API's code
    api_response = api_instance.supplier_ws_prestashop_php_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PrestashopApi->supplierWSPrestashopPhpPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Return codes for the APIS if succes, if failed, return <br> *<?xml version="1.0" encoding="UTF-8" ?> <br> <response> <br> <statut>failed</statut> <br> <label_error></label_error> <br> </response>*


Product

updateStockPriceByFilePhpPost

Update stock and price in partial or complete for the products of a customer


/updateStockPriceByFile.php

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
"https://virtserver.swaggerhub.com/z5917/Test/1.0.0/updateStockPriceByFile.php?ZOOMICI_ID=&ZOOMICI_PASS=&mode=&xml="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

import java.io.File;
import java.util.*;

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        Integer mode = 56; // Integer | 
        ExempleXmlUpdateStockPrice xml = ; // ExempleXmlUpdateStockPrice | 
        try {
            Response result = apiInstance.updateStockPriceByFilePhpPost(zOOMICIID, zOOMICIPASS, mode, xml);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#updateStockPriceByFilePhpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        String zOOMICIID = zOOMICIID_example; // String | 
        String zOOMICIPASS = zOOMICIPASS_example; // String | 
        Integer mode = 56; // Integer | 
        ExempleXmlUpdateStockPrice xml = ; // ExempleXmlUpdateStockPrice | 
        try {
            Response result = apiInstance.updateStockPriceByFilePhpPost(zOOMICIID, zOOMICIPASS, mode, xml);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#updateStockPriceByFilePhpPost");
            e.printStackTrace();
        }
    }
}
String *zOOMICIID = zOOMICIID_example; // 
String *zOOMICIPASS = zOOMICIPASS_example; // 
Integer *mode = 56; // 
ExempleXmlUpdateStockPrice *xml = ; // 

ProductApi *apiInstance = [[ProductApi alloc] init];

// Update stock and price in partial or complete for the products of a customer
[apiInstance updateStockPriceByFilePhpPostWith:zOOMICIID
    zOOMICIPASS:zOOMICIPASS
    mode:mode
    xml:xml
              completionHandler: ^(Response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ZoomiciApiDocumentation = require('zoomici_api_documentation');

var api = new ZoomiciApiDocumentation.ProductApi()
var zOOMICIID = zOOMICIID_example; // {{String}} 
var zOOMICIPASS = zOOMICIPASS_example; // {{String}} 
var mode = 56; // {{Integer}} 
var xml = ; // {{ExempleXmlUpdateStockPrice}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateStockPriceByFilePhpPost(zOOMICIID, zOOMICIPASS, mode, xml, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateStockPriceByFilePhpPostExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var zOOMICIID = zOOMICIID_example;  // String | 
            var zOOMICIPASS = zOOMICIPASS_example;  // String | 
            var mode = 56;  // Integer | 
            var xml = new ExempleXmlUpdateStockPrice(); // ExempleXmlUpdateStockPrice | 

            try
            {
                // Update stock and price in partial or complete for the products of a customer
                Response result = apiInstance.updateStockPriceByFilePhpPost(zOOMICIID, zOOMICIPASS, mode, xml);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.updateStockPriceByFilePhpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$zOOMICIID = zOOMICIID_example; // String | 
$zOOMICIPASS = zOOMICIPASS_example; // String | 
$mode = 56; // Integer | 
$xml = ; // ExempleXmlUpdateStockPrice | 

try {
    $result = $api_instance->updateStockPriceByFilePhpPost($zOOMICIID, $zOOMICIPASS, $mode, $xml);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->updateStockPriceByFilePhpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductApi;

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $zOOMICIID = zOOMICIID_example; # String | 
my $zOOMICIPASS = zOOMICIPASS_example; # String | 
my $mode = 56; # Integer | 
my $xml = ; # ExempleXmlUpdateStockPrice | 

eval { 
    my $result = $api_instance->updateStockPriceByFilePhpPost(zOOMICIID => $zOOMICIID, zOOMICIPASS => $zOOMICIPASS, mode => $mode, xml => $xml);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->updateStockPriceByFilePhpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ProductApi()
zOOMICIID = zOOMICIID_example # String | 
zOOMICIPASS = zOOMICIPASS_example # String | 
mode = 56 # Integer | 
xml =  # ExempleXmlUpdateStockPrice | 

try: 
    # Update stock and price in partial or complete for the products of a customer
    api_response = api_instance.update_stock_price_by_file_php_post(zOOMICIID, zOOMICIPASS, mode, xml)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->updateStockPriceByFilePhpPost: %s\n" % e)

Parameters

Query parameters
Name Description
ZOOMICI_ID*
String
Required
ZOOMICI_PASS*
String
Required
mode*
Integer
Required
xml*
ExempleXmlUpdateStockPrice
Required

Responses

Status: default - Return code