Unknown: Creation of dynamic property Request::$request is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/request.php on line 26Unknown: Creation of dynamic property Session\DB::$db is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/session/db.php on line 15Warning: Cannot modify header information - headers already sent by (output started at /home2/bigdat15/store.bigdataecommerce.com.br/system/framework.php:42) in /home2/bigdat15/store.bigdataecommerce.com.br/system/framework.php on line 108Unknown: Creation of dynamic property Openbay::$logger is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/openbay.php on line 22Unknown: Creation of dynamic property Proxy::$getTranslations is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: mysqli::real_escape_string(): Passing null to parameter #1 ($string) of type string is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/db/mysqli.php on line 45Unknown: Creation of dynamic property Openbay::$logger is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/openbay.php on line 22Warning: Cannot modify header information - headers already sent by (output started at /home2/bigdat15/store.bigdataecommerce.com.br/system/framework.php:42) in /home2/bigdat15/store.bigdataecommerce.com.br/catalog/controller/startup/session.php on line 25Unknown: Creation of dynamic property Proxy::$getLanguage is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getLanguages is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Automatic conversion of false to array is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/catalog/controller/startup/startup.php on line 95Warning: Cannot modify header information - headers already sent by (output started at /home2/bigdat15/store.bigdataecommerce.com.br/system/framework.php:42) in /home2/bigdat15/store.bigdataecommerce.com.br/catalog/controller/startup/startup.php on line 99Unknown: Creation of dynamic property Cart\Customer::$config is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/customer.php on line 14Unknown: Creation of dynamic property Cart\Customer::$db is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/customer.php on line 15Unknown: Creation of dynamic property Cart\Customer::$request is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/customer.php on line 16Unknown: Creation of dynamic property Cart\Customer::$session is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/customer.php on line 17Unknown: Creation of dynamic property Proxy::$getCurrencyByCode is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getCurrencies is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/engine/proxy.php on line 30Warning: Cannot modify header information - headers already sent by (output started at /home2/bigdat15/store.bigdataecommerce.com.br/system/framework.php:42) in /home2/bigdat15/store.bigdataecommerce.com.br/catalog/controller/startup/startup.php on line 157Unknown: Creation of dynamic property Cart\Currency::$db is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/currency.php on line 7Unknown: Creation of dynamic property Cart\Currency::$language is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/currency.php on line 8Unknown: Creation of dynamic property Cart\Tax::$config is deprecated in /home2/bigdat15/storage/modification/system/library/cart/tax.php on line 13Unknown: Creation of dynamic property Cart\Tax::$db is deprecated in /home2/bigdat15/storage/modification/system/library/cart/tax.php on line 14Unknown: Creation of dynamic property Cart\Weight::$db is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/weight.php on line 7Unknown: Creation of dynamic property Cart\Weight::$config is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/weight.php on line 8Unknown: Creation of dynamic property Cart\Length::$db is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/length.php on line 7Unknown: Creation of dynamic property Cart\Length::$config is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/length.php on line 8Unknown: Creation of dynamic property Cart\Cart::$config is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/cart.php on line 7Unknown: Creation of dynamic property Cart\Cart::$customer is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/cart.php on line 8Unknown: Creation of dynamic property Cart\Cart::$session is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/cart.php on line 9Unknown: Creation of dynamic property Cart\Cart::$db is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/cart.php on line 10Unknown: Creation of dynamic property Cart\Cart::$tax is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/cart.php on line 11Unknown: Creation of dynamic property Cart\Cart::$weight is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/cart/cart.php on line 12Unknown: Creation of dynamic property Openbay::$logger is deprecated in /home2/bigdat15/store.bigdataecommerce.com.br/system/library/openbay.php on line 22 Como utilizar a SandBox para testar a minha integração?

Como utilizar a SandBox para testar a minha integração?

Abaixo temos acesso a alguns métodos implementados para interagir com a "sandbox" de testes:


INTRODUÇÃO:


Aqui temos algumas implementações de integração direta com a loja aqui utilizada como "sandbox", e neste espaço, realizar testes, ou ainda, simular compras para testar alguma lista de retorno por consulta como as vendas de um determinado dia por exemplo, etc

        TIPOS DE RETORNO: JSON/Único, JSON/Matriz e CSV


1 - AUTENTICAÇÃO


  • EXIBIR CHAVE DO USUÁRIO APIUSer

Chave APIUserEXIBIR CHAVE


  • VALIDAR CHAVE

HASH1d87c5c60bd9e489ec710a0db20ca46b - VERIFICAR CHAVE


    2 - INTERAÇÃO COM PRODUTOS


    • ALTERAR O PREÇO DO PRODUTO: 7895800169230 / HALLS 27G CEREJA PARA R$ 5.00 (cinco reais) e a quantidade para 100

    AÇÃO: ALTERAR PRODUTO


      • ALTERAR O PREÇO DO PRODUTO: 7895800169230 / HALLS 27G CEREJA PARA R$ 1.25 (um real e vinte e cinco centavos) e a quantidade para 50

      AÇÃOALTERAR PRODUTO


        • ZERAR A QUANTIDADE DO PRODUTO : 7895800169230 / HALLS 27G CEREJA (esta ação desativará o produto) e o preço para R$ 1.25 (um real e vinte e cinco centavos)

        AÇÃOALTERAR PRODUTO


          • REATIVAR PRODUTO: 7895800169230 / HALLS 27G CEREJA PARA R$ 1.25 (um real e vinte e cinco centavos) e a quantidade para 200

          AÇÃOALTERAR PRODUTO


            3 - LISTAS E RELAÇÕES 


            • LISTAR TODOS OS PRODUTOS CADASTRADOS :

            AÇÃOLISTAR TODOS PRODUTOS

            RETORNO EM JSON:  {"seq_1":1, "product_id_1":"1", "ean_1":"7891109789841", "name_1":"SAND HAV COLOR AZUL NAVAL 41\/42 PAR", "quantity_1":"9", "image_1":"catalog\/produtos\/sand_hav_color\/7891109789841.jpg", "price_1":"12.5000", "points_1":"0", "weight_1":"0.00000000", "status_1":"1", "viewed_1":"0", "total":1}

            OBS: Dependendo da quantidade de produtos cadastrados, utilize outros métodos de consulta. Para proporcionar o máximo de compatibilidade com as mais diversas linguagens de programação o JSON de retorno informa o total de registros transportados para o controle da aplicação final, podendo a mesma realizar a leitura sequencial das chaves> seq_X,product_id_X,ean_X,name_X,quantity_X,image_X,price_X,points_X,weight_X,status_X,viewed_X, sendo X a sequencia a ser lida pela aplicação do cliente.


            • LISTAR TODAS AS CATEGORIAS :

            AÇÃOLISTAR TODAS AS CATEGORIAS

            RETORNO EM JSON{"seq_1":1, "parent_id_1":"0", "name_1":"sub grupo teste", "category_id_1":"1", "category_1":"", "top_1":"0", "status_1":"1", "total":1}

            OBS: Para proporcionar o máximo de compatibilidade com as mais diversas linguagens de programação o JSON de retorno informa o total de registros transportados para o controle da aplicação final, podendo a mesma realizar a leitura sequencial das chaves> seq_X,parent_id_X,name_X,category_id_X,category_X,top_X,status_X, sendo X a sequencia a ser lida pela aplicação do cliente.


            • LISTAR TODOS OS PRODUTOS DESATIVADOS :

            AÇÃOLISTAR TODOS OS PRODUTOS DESATIVADOS

            RETORNO EM JSON{"seq_1":1, "parent_id_1":"0", "name_1":"sub grupo teste", "category_id_1":"1", "category_1":"", "top_1":"0", "status_1":"1", "total":1}

            OBS: Para proporcionar o máximo de compatibilidade com as mais diversas linguagens de programação o JSON de retorno informa o total de registros transportados para o controle da aplicação final, podendo a mesma realizar a leitura sequencial das chaves> seq_X,parent_id_X,name_X,category_id_X,category_X,top_X,status_X, sendo X a sequencia a ser lida pela aplicação do cliente.


            • LISTAR TODOS OS STATUS DAS VENDAS:

            AÇÃOLISTAR TODOS OS STATUS CADASTRADOS PARA AS VENDAS

            RETORNO EM JSON{"seq_1":1,"order_status_id_1":"2","name_1":"Processando...", "total": 1}

            OBS: Obedece a mesma lógica de retorno dos itens anteriores.


            • LISTAR VENDAS DE UMA DETERMINADA DATA ( 11-05-2020 ) :

            AÇÃOLISTAR TODAS AS VENDAS DE 11-05-2020

            RETORNO EM JSON ( a descrever )

            OBS: Obedece a mesma lógica de retorno dos itens anteriores.


            • LISTAR TODOS OS PRODUTOS CADASTRADOS SEM IMAGEM DE CAPA:

            AÇÃOLISTAR TODOS PRODUTOS SEM IMAGEM DE CAPA

            RETORNO FORMATO CSV ( a descrever ) - pode ser lido por stream

            OBS: Retorno em formato CSV


            4 - SIMULAR VENDAS PARA CONSULTA POSTERIOR


            • PARA FINS DE TESTES PODEMOS UTILIZAR OS SEGUINTES DADOS PARA REALIZAR LOGIN E REALIZAR ALGUM TESTE DE VENDA NA SANDBOX:

            LOGIN: demo@bigdataecommerce.com.br

            SENHA: demo123

            OBS: Ao realizar alguma compra você poderá realizar a API para consultar a transação.


            5 - Links úteis




            RETORNAR A PÁGINA INICIAL