magento-connector
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Mule Cloud Connector for Magento
Mule Magento Cloud Connector
============================

Mule Cloud connector to Magento

Installation
------------

The connector can either be installed for all applications running within the Mule instance or can be setup to be used
for a single application.

*All Applications*

Download the connector from the link above and place the resulting jar file in
/lib/user directory of the Mule installation folder.

*Single Application*

To make the connector available only to single application then place it in the
lib directory of the application otherwise if using Maven to compile and deploy
your application the following can be done:

Add the connector's maven repo to your pom.xml:

    
        
            muleforge-releases
            MuleForge Snapshot Repository
            https://repository.muleforge.org/release/
            default
        
    

Add the connector as a dependency to your project. This can be done by adding
the following under the dependencies element in the pom.xml file of the
application:

    
        org.mule.modules
        mule-module-magento
        1.3-SNAPSHOT
    

Configuration
-------------

You can configure the connector as follows:

    

Here is detailed list of all the configuration attributes:

| attribute | description | optional | default value |
|:-----------|:-----------|:---------|:--------------|
|name|Give a name to this configuration so it can be later referenced by config-ref.|yes||
|username||no|
|password||no|
|address||no|
















Add Order Shipment Comment
--------------------------

Adds a comment to the shipment. 

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|shipmentId|the shipment's increment id|no||
|comment|the comment to add|no||
|sendEmail|if an email must be sent after shipment creation|yes|false|
|includeCommentInEmail|if the comment must be sent in the email|yes|false|



Add Order Shipment Track
------------------------

Adds a new tracking number

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|shipmentId|the shipment id|no||
|carrierCode|the new track's carrier code|no||
|title|the new track's title|no||
|trackId||no||

Returns new track's id



Cancel Order
------------

Cancels an order

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the order to cancel|no||



Create Order Shipment
---------------------

Creates a shipment for order

Example:



     
             
                 
                 
             
          

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the order increment id|no||
|itemsQuantities|a map containing an entry per each (orderItemId, quantity) pair|no||
|comment|an optional comment|yes||
|sendEmail|if an email must be sent after shipment creation|yes|false|
|includeCommentInEmail|if the comment must be sent in the email|yes|false|

Returns new shipment's id



Get Order
---------

Answers the order properties for the given orderId

Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the order whose properties to fetch|no||

Returns string-object map of order properties



Get Order Invoice
-----------------

Retrieves order invoice information

Example:



           

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|invoiceId|the target invoiceId|no||

Returns invoice attributes



Get Order Shipment Carriers
---------------------------

Creates an invoice for the given order

Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the target order id|no||

Returns new invoice's id



Get Order Shipment
------------------

Adds a comment to the given order's invoice

Example:



       

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|shipmentId||no||



Hold Order
----------

Puts order on hold. This operation can be reverted with unholdOrder.

Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the order to put on hold state|no||



List Orders
-----------

Lists order attributes that match the given filtering expression.

Example


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|filter|optional filtering expression - one or more comma-separated unary or binary predicates, one for each filter, in the form filterType(attributeName, value), for binary filters or filterType(attributeName), for unary filters, where filterType is istrue, isfalse or any of the Magento standard filters. Non-numeric values need to be escaped using simple quotes.|yes||

Returns list of string-object maps



List Orders Invoices
--------------------

Lists order invoices that match the given filtering expression

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|filter|optional filtering expression - one or more comma-separated unary or binary predicates, one for each filter, in the form filterType(attributeName, value), for binary filters or filterType(attributeName), for unary filters, where filterType is istrue, isfalse or any of the Magento standard filters. Non-numeric values need to be escaped using simple quotes.|yes||

Returns of string-object maps order attributes



List Orders Shipments
---------------------

Lists order shipment atrributes that match the given 
optional filtering expression

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|filter|optional filtering expression - one or more comma-separated unary or binary predicates, one for each filter, in the form filterType(attributeName, value), for binary filters or filterType(attributeName), for unary filters, where filterType is istrue, isfalse or any of the Magento standard filters. Non-numeric values need to be escaped using simple quotes.|yes||

Returns of string-object map order shipments attributes



Delete Order Shipment Track
---------------------------

Deletes the given track of the given order's shipment



| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|shipmentId|the target shipment id|no||
|trackId|the id of the track to delete|no||



Add Order Comment
-----------------

Adds a comment to the given order id



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the order id|no||
|status|the comment status|no||
|comment|the comment|no||
|sendEmail|if an email must be sent after shipment creation|yes|false|



Unhold Order
------------

Releases order

Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId|the id of the order to remove from hold state|no||



Create Order Invoice
--------------------

Creates an invoice for the given order

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|orderId||no||
|itemsQuantities|a map containing an entry per each (orderItemId, quantity) pair|no||
|comment|an optional comment|yes||
|sendEmail|if an email must be sent after shipment creation|yes|false|
|includeCommentInEmail|if the comment must be sent in the email|yes|false|

Returns new invoice's id



Add Order Invoice Comment
-------------------------

Adds a comment to the given order's invoice

Example: 



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|invoiceId|the invoice to capture|no||



Void Order Invoice
------------------

Voids an invoice

Example: 



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|invoiceId|the invoice id|no||



Cancel Order Invoice
--------------------

Cancels an order's invoice

Example: 



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|invoiceId|the invoice id|no||



Create Customer Address
-----------------------

Creates a new address for the given customer using the given address
attributes



     
               
                 
               
             

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|customerId|the customer|no||
|attributes|the address attributes|no||

Returns new customer address id



Create Customer
---------------

Creates a customer with the given attributes

Example: 



          
                 
                   
                   
                   
                    
                 
              

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|attributes|the attributes of the new customer|no||

Returns new customer id



Delete Customer
---------------

Deletes a customer given its id

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|customerId|the customer to delete|no||



Delete Customer Address
-----------------------

Deletes a Customer Address

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|addressId||no||



Get Customer
------------

Answers customer attributes for the given id. Only the selected attributes are
retrieved

Example:



     
          
               customer_name
                 customer_last_name 
               customer_age
          
         

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|customerId||no||
|attributeNames|the attributes to retrieve. Not empty|no||

Returns attributes map



Get Customer Address
--------------------

Answers the customer address attributes

Example: 


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|addressId||no||

Returns customer address attributes map



List Customer Addresses
-----------------------

Lists the customer address for a given customer id

Example: 



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|customerId|the id of the customer|no||

Returns listing of addresses



List Customer Groups
--------------------

Lists all the customer groups

Example: 



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns listing of groups attributes



List Customers
--------------

Answers a list of customer attributes for the given filter expression.

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|filter|optional filtering expression - one or more comma-separated unary or binary predicates, one for each filter, in the form filterType(attributeName, value), for binary filters or filterType(attributeName), for unary filters, where filterType is istrue, isfalse or any of the Magento standard filters. Non-numeric values need to be escaped using simple quotes.|yes||

Returns list of attributes map



Update Customer
---------------

Updates the given customer attributes, for the given customer id. Password can
not be updated using this method

Example:



     
               
                  
               

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|customerId|the target customer to update|no||
|attributes|the attributes map|no||



Update Customer Address
-----------------------

Updates the given map of customer address attributes, for the given customer address

Example:



     
             
                  
                  
              
           

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|addressId|the customer address to update|no||
|attributes|the address attributes to update|no||



List Stock Items
----------------

Retrieve stock data by product ids

Example:



     
             
                  1560
                 JJFO986
             
        

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productIdOrSkus|a not empty list of product ids or skus whose attributes to list|no||

Returns list of stock items attributes



Update Stock Item
-----------------

Update product stock data given its id or sku

Example:



      
             
                  
             
        

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productIdOrSku|the product id or sku of the product to update|no||
|attributes||no||



List Directory Countries
------------------------

Answers the list of countries
Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns collection of countries attributes



List Directory Regions
----------------------

Answers a list of regions for the given county
Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|countryId|the country code, in ISO2 or ISO3 format|no||

Returns collection of regions attributes



Add Product Link
----------------

Links two products, given its source and destination productIdOrSku.
Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|type|the product type|no||
|productId|the id of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product id|yes||
|productSku|the sku of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the source product.|yes||
|linkedProductIdOrSku|the destination product id or sku.|no||
|attributes|the link attributes|yes||



Create Product Attribute Media
------------------------------

Creates a new product media. See catalog-product-attribute-media-create SOAP
method. 
Example:



      
      
          
              
              
          
      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|attributes|the media attributes|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||
|content|the image to upload. It may be a file, an input stream or a byte array|no||
|mimeType|the mimetype|no||*JPEG*, *GIF*, *PNG*
|baseFileName|the base name of the new remote image|yes||

Returns new image filename



Delete Product Attribute Media
------------------------------

Removes a product image. See catalog-product-attribute-media-remove SOAP
method.
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|fileName|the remote media file to delete|no||



Delete Product Link
-------------------

Deletes a product's link.

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|type|link type|no||
|productId|the id of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product id|yes||
|productSku|the sku of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the source product.|yes||
|linkedProductIdOrSku||no||



Get Product Attribute Media
---------------------------

Lists linked products to the given product and for the given link type.
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|fileName||no||
|storeViewIdOrCode||yes||

Returns list of links to the product



Get Catalog Current Store View
------------------------------

Answers the current default catalog store view id for this session

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns current default store view id



Update Category Attribute Store View
------------------------------------

Set the default catalog store view for this session

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store the id or code of the store view to set as default for this session|no||



List Category Attributes
------------------------

Retrieve product image types. See catalog-product-attribute-media-types SOAP
method.

Example: 


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns list of category attributes



List Category Attribute Options
-------------------------------

Retrieves attribute options. See catalog-category-attribute-options SOAP
method.

Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|attributeId|the target attribute whose options will be retrieved|no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns list of category attribute options



List Product Attribute Media
----------------------------

Retrieves product image list. See catalog-product-attribute-media-list SOAP
method
Example:


       

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns list of product images attributes



List Product Attribute Media Types
----------------------------------

Retrieve product image types. See catalog-product-attribute-media-types SOAP
method.

Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|setId|the setId|no||

Returns list of attribute media types



List Product Attribute Options
------------------------------

Answers the product attribute options. See catalog-product-attribute-options
SOAP method.

Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|attributeId|the target attribute whose options will be listed|no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns attributes list



List Product Attributes
-----------------------

Retrieves product attributes list. See catalog-product-attribute-list SOAP
methods

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|setId||no||

Returns list of product attributes



List Product Attribute Sets
---------------------------

Retrieves product attribute sets. See catalog-product-attribute-set-list SOAP
method.

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns list of product attributes sets



List Product Attribute Tier Prices
----------------------------------

Retrieve product tier prices. See catalog-product-attribute-tier-price-info
SOAP Method.
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||

Returns list of product attributes



List Product Link
-----------------

Lists linked products to the given product and for the given link type

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|type|the link type|no||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||

Returns list of links to the product



List Product Link Attributes
----------------------------

Lists all the attributes for the given product link type

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|type|the product type|no||

Returns listing of product attributes



List Product Link Types
-----------------------

Answers product link types
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns list of product link types



List Product Types
------------------

Answers product types. See catalog-product-type-list SOAP method
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||

Returns list of product types



Update Product Attribute Media
------------------------------

Updates product media. See catalog-product-attribute-media-update
Example:


     
             
                 
             
           

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|fileName|the name of the remote media file to update|no||
|attributes||no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||



Update Product Attribute Tier Price
-----------------------------------

Updates a single product tier price. See catalog-product-attribute-tier-price-update
SOAP method.

Example:



      
            
             
             
             
             
            
           

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|attributes|the tier price to update.|no||



Update Product Link
-------------------

Update product link
Example:



     
             
                 
                                
           

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|type|the link type|no||
|productId|the id of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product id|yes||
|productSku|the sku of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the source product.|yes||
|linkedProductIdOrSku|the destination product id or sku.|no||
|attributes|the link attributes|no||



List Category Products
----------------------

Lists product of a given category. See  catalog-category-assignedProducts SOAP method.   
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category|no||

Returns listing of category products



Add Category Product
--------------------

Assign product to category. See catalog-category-assignProduct SOAP method

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category where the given product will be added|no||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|position||no||



Create Category
---------------

Creates a new category. See catalog-category-create SOAP method.

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|parentId|the parent category id|no||
|attributes|the new category attributes|no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns new category id



Delete Category
---------------

Deletes a category. See  catalog-category-delete SOAP method
Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category to delete|no||



Get Category
------------

Answers category attributes. See catalog-category-info SOAP method. 
Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category whose attributes will be retrieved|no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||
|attributeNames|the category attributes that will be retrieved|no||

Returns category attributes



List Category Levels
--------------------

Answers levels of categories for a website, store view and parent category
Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|website||yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||
|parentCategoryId|the parent category of the categories that will be listed|yes||

Returns list of categories attributes



Move Category
-------------

Move category in tree. See  catalog-category-move SOAP method. Please make sure that you are not 
moving category to any of its own children. There are no
extra checks to prevent doing it through webservices API, and you won’t be
able to fix this from admin interface then .

Example:



      

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the id of the category to be moved|no||
|parentId|the new parent category id|no||
|afterId|an optional category id for use as reference in the positioning of the moved category|yes||



Delete Category Product
-----------------------

Remove a product assignment. See catalog-category-removeProduct SOAP method. 
Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category to delete|no||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||



Get Category Tree
-----------------

Answers the category tree. 
See  catalog-category-tree SOAP method.

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|parentId||no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns category tree attributes



Update Category
---------------

Updates a category. See catalog-category-update SOAP method

Example:



       
             
                 
             
          

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category to update|no||
|attributes|the category new attributes|no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||



Update Category Product
-----------------------

Updates a category product 

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|categoryId|the category id|no||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|position|the category position for ordering the category inside its level|no||



List Inventory Stock Items
--------------------------

Lists inventory stock items.
 Example: 
 

     
             
                 1560
                 10036
                 9868
             
            

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productIdOrSkus||no||

Returns list of attributes



Update Inventory Stock Item
---------------------------

Updates an stock inventory item



      
               
                 
               
            

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|attributes|the new attributes of the stock item|no||



Create Product
--------------

Creates a new product

Example:


     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|type|the new product's type|no||
|set|the new product's set|no||
|sku|the new product's sku|no||
|attributes|the attributes of the new product|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns new product's id



Delete Product
--------------

Deletes a product. See catalog-product-delete SOAP method.

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||



Get Product Special Price
-------------------------

Answers a product special price. See catalog-product-getSpecialPrice SOAP method.

Example: 



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns product special price attributes



Get Product
-----------

Answers a product's specified attributes. At least one of attributNames or
additionalAttributeNames must be non null and non empty. See
catalog-product-info SOAP method



       
                 
                     keyboard_distribution_type
                 
             

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||
|attributesNames||yes||
|additionalAttributeNames|the list of non standard attributes to be returned in the additionalAttributes attribute|yes||

Returns attributes



List Products
-------------

Retrieve products list by filters. See catalog-product-list SOAP method.

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|filter|optional filtering expression - one or more comma-separated unary or binary predicates, one for each filter, in the form filterType(attributeName, value), for binary filters or filterType(attributeName), for unary filters, where filterType is istrue, isfalse or any of the Magento standard filters. Non-numeric values need to be escaped using simple quotes.|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||

Returns list of product attributes that match the given optional filtering expression



Update Product Special Price
----------------------------

Sets a product special price. See catalog-product-setSpecialPrice SOAP method

Example:



     

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|specialPrice|the special price to set|no||
|fromDate|optional start date of the special price period|yes||
|toDate|optional end date of the special price period|yes||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||



Update Product
--------------

Updates a product. See catalog-category-updateProduct SOAP method 
Example:



     
             
                 
             
           

| attribute | description | optional | default value | possible values |
|:-----------|:-----------|:---------|:--------------|:----------------|
|config-ref|Specify which configuration to use for this invocation|yes||
|productId|the id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id|yes||
|productSku|the sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku|yes||
|productIdOrSku|the id or sku of the product.|yes||
|attributes|the not empty map of product attributes to update|no||
|storeViewIdOrCode|the id or code of the target store. Left unspecified for using current store|yes||






































本源码包内暂不包含可直接显示的源代码文件,请下载源码包。