API - Product Manage / Add

Add and manage products and product details


Resource:
/acumulus/stable/products/product_manage.php
Since API:
Available for authenticated:
API gebruiker
Available for authenticated:
API beheerder
Communication:
Basic submit, including below structure

Support voor inodes :

Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
    ...
    <product>
        <productid></productid>
        <productdescription></productdescription>
        <productcontactid></productcontactid>
        <productcustomercontactid></productcustomercontactid>
        <productcustomerselectionid></productcustomerselectionid>
        <producttagid></producttagid>
        <productpaymentprofileid></productpaymentprofileid>
        <productdiscountprofileid></productdiscountprofileid>
        <productsielshopstockactive></productsielshopstockactive>
        <productsielshopstockshow></productsielshopstockshow>
        <productstockvaluecounting></productstockvaluecounting>
        <productnatureid></productnatureid>
        <productprice></productprice>
        <productvatrate></productvatrate>
        <productsku></productsku>
        <productean></productean>
        <productnotes></productnotes>
    </product>
</myxml>

productid mandatory / non-mandatory
Unique numeric identifier for product. Leave empty when adding a new product or include when updating a current product.


productdelete
Value
0
Add or update item
DEFAULT
1
Delete item including possible stock registrations

productdescription
Descriptive name identifying the product.


productcontactid Contact associated with the item.


productcustomercontactid Customer contact associated with the item. When set, the availability in selections and dropdowns will be limited to this contact.


productcustomerselectionid Customer contact groep associated with the item. When set, the availability in selections and dropdowns will be limited to this contact.


producttagid

Value
-1
Vervallen (discontinued)
0
Actief (active/available)DEFAULT
1000
Favoriet (Favorite)

productpaymentprofileid
Numeric identifier for payment profile using a payment service provider.


productdiscountprofileid
Numeric identifier for discount profile.


productsielshopstockactive
Indication if SIELshop should be aware of stock. Stock will be automatically updated when purchased through SIELshop. Ordering will be blocked when availability is insufficient.


productsielshopstockshow
Indication if SIELshop should show stock to customer when adding products to cart or basket.


productstockvaluecounting
Allow value of product to be part of stock value counting. Please note that this is only avaiable for products. Not for services.


productnatureid
Nature of the item.


productprice
Default price for product or service. Up to 4 decimals.


productvatrate
Default vatrate for product or service.


productsku
SKU of product or service. Max 24 characters.


productean
EAN of product or service. Max 18 characters.


productnotes
Personal notes regarding the product or service.


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <product>
        <productid></productid>
        <productproc></productproc>
        <productdescription></productdescription>
        <productcontactid></productcontactid>
        <productcustomercontactid></productcustomercontactid>
        <productcustomerselectionid></productcustomerselectionid>
        <producttagid></producttagid>
        <producthash></producthash>
        <productpaymentprofileid></productpaymentprofileid>
        <productdiscountprofileid></productdiscountprofileid>
        <productsielshopstockactive></productsielshopstockactive>
        <productsielshopstockshow></productsielshopstockshow>
        <productstockvaluecounting></productstockvaluecounting>
        <productnatureid></productnatureid>
        <productprice></productprice>
        <productvatrate></productvatrate>
        <productsku></productsku>
        <productean></productean>
        <productnotes></productnotes>
    </product>
</response>
Please note that when deleting an item using productdelete only productid and productproc are included in the response.

productid
Added or altered product identifier.


productproc
Action executed. Usually either updated, added or deleted.


producthash
identifier to be used in payment urls. i.e. https://pay.siel.nl/?p=PRODUCTHASH