Web API - Integrations and Data Exchange with Other Programs.

Web API functions allow for the extension of store functionality and integration with other IT systems. Thanks to the Web API, other companies and programmers can retrieve and send various data to the program in a standardized way. This allows for the individual customization of the program to meet one's needs.

Table of Contents

In the admin panel, select Applications → API API Module Icon

Enabling WebAPI

Select Configuration

Only regular administrators can be used to connect to WebAPI.

API Configuration
  1. Check Enable WebApi,
  2. Set Session duration (time given in seconds),
  3. Choose whether to automatically delete expired sessions from the login list,
  4. Choose whether to enforce the use of API via SSL,
  5. Press the Save button.

WebAPI Logins

Select WebApi Logins

WebAPI Logins

WebAPI Functions in SOTESHOP

List of WebApi functions depending on the module.

Producers (stProducer)

Producer Address
https://shop.example.com/backend.php/producer/soap?wsdl

Categories (stCategory)

Category Address
https://shop.example.com/backend.php/category/soap?wsdl

Products (stProduct)

Product Address
https://shop.example.com/backend.php/product/soap?wsdl

Users (stUser)

User Address
https://shop.example.com/backend.php/user/soap?wsdl

Logins (stWebApiBackend)

  • ClearCache - clearing the cache,
  • doLogin - logging into the system,
  • GetVersion - returns the version of the API module,
  • Noop - extends the session and returns the time of its completion,
  • Test - testing communication,
Login Address
https://shop.example.com/backend.php/webapi/soap?wsdl

Orders (stOrder)

Order address
https://shop.example.com/backend.php/order/soap?wsdl

Gift cards

Gift Card Address
https://shop.example.com/backend.php/giftcard/soap?wsdl

Discount Codes

Discount Code Address
https://shop.example.com/backend.php/discount/soap?wsdl

Payment Types (stPaymentType)

Payment Type Address
https://shop.example.com/backend.php/payment-type/soap?wsdl

Currencies (stCurrency)

  • UpdateCurrencyExchange - updates the currency exchange rate,
  • UpdateCurrencyExchangeByShortcut - updates the currency exchange rate by ISO 4217 code,
  • CountCurrency - retrieves the amount of currencies,
  • Currency Address
    https://shop.example.com/backend.php/currency/soap?wsdl

    Related Documentation

    SOTE YouTube

    Stay up to date with the latest SOTESHOP program updates. Subscribe to the SOTE YouTube channel.