[Stackoverflow]

Discussão em 'StackOverflow' iniciado por fdantas, Setembro 11, 2024.

  1. fdantas

    fdantas Administrator Moderador

    My company runs a 4GL application internally. It's very old and no one really knows how to improve/develop for it since the developers are long gone.

    I need to make a simple SOAP call to my Magento web store. There are tons of examples online in a multitude of languages, but I can't find a single 4GL (OpenEdege ABL) example.

    I'm trying to set SKU's to Out of stock status.

    Does anyone have a simple example that I can look at, or at least a starting point since there seems to be so little information on 4GL on the web.

    Example of the call I need in PHP:

    <?php
    $proxy = new SoapClient('http://www.domain.com/api/soap/?wsdl');
    $sessionId = $proxy->login('admin', 'password');

    $proxy->call($sessionId, 'product_stock.update', array('sku123', array('qty'=>50, 'is_in_stock'=>1)));

    Continue reading...

Compartilhe esta Página