Action

Parameters

Description

Returns

export_orders

oIDfrom

oIDto (optional)

Exports the orders from n. oIDfrom to n. oIDto

n of order lines

#SUCCESS#

import_categories

file

Imports the categories

#SUCCESS#

import_taxes

file

Imports the taxes

#SUCCESS#

import_ products

file

Imports the articles

#SUCCESS#

import_specials

file

Imports the sales promotions

#SUCCESS#

update_products_
quantity

file

Updates the stock info

#SUCCESS#

import_products_categories

file

Assign multiple categories to multiple items

#SUCCESS#

import_manufacturers

file

Imports the Manufacturers / Brands

#SUCCESS#

update_products_
price

file

Updates the prices

#SUCCESS#

purge_categories

file

Deletes the categories which are no more in WinBIZ.

#SUCCESS#

purge_taxes

file

Deletes the taxes which are no more in WinBIZ.

#SUCCESS#

purge­­_products

file

Deletes the products that are no more in WinBIZ.

#SUCCESS#

purge_specials

file

Deletes the sales promotions which are no more in WinBIZ.

#SUCCESS#

get_default_currency

 

Looks for the default currency of the site. Prices always have to be transmitted in the default currency

#SUCCESS# USD

get_script_version

 

Looks for the version of the script having been deployed. The version is defined at the beginning of the script by WINBIZ_SCRIPT_VERSION

#SUCCESS# 1.0

execute_query

query

Executes a query on the OsCommerce database. The queries are limited to the « select » statement. The query must be transmitted in a form field named « query » (POST method)

#SUCCESS#

delete_all

 

Deletes all the OsCommerce elements being created by WinBIZ: categories, products, taxes, geographical zones, sales promotions, etc. In order to recreate the elements, simply re-sync with WinBIZ.

#SUCCESS#

install_module

 

Creates the table mapping the ID (winbiz_id_mapping). This table is very important

#SUCCESS#

uninstall_module

 

Deletes the mapping table. WARNING : irreversible action! Once this table has been deleted, it will be impossible to update the elements coming from WinBIZ (they will be created again in the next sync). It will also be impossible to delete them using delete_all since the mapping table doesn’t exist anymore

#SUCCESS#

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.