org.mule.modules

mule-module-magento

config

Namespacehttp://www.mulesoft.org/schema/mule/magento
Schema Locationhttp://www.mulesoft.org/schema/mule/magento/current/mule-magento.xsd  (View Schema)
Schema Version1.1
Minimum Mule Version3.2

Module Overview

Magento is a feature-rich eCommerce platform built on open-source technology that provides online merchants with great and control over the look, content and functionality of their eCommerce store.

Summary

Configuration
<magento:config>
Configure an instance of this module
Message Processors
<magento:add-category-product>
Assign product to category.
<magento:add-order-comment>
Adds a comment to the given order id

<magento:add-order-invoice-comment>
Adds a comment to the given order's invoice

<magento:add-order-shipment-comment>
Adds a comment to the shipment.
<magento:add-order-shipment-track>
Adds a new tracking number

<magento:add-product-link>
Links two products, given its source and destination productIdOrSku.
<magento:add-shopping-cart-coupon>
Adds a coupon code for a shopping cart (quote).
<magento:add-shopping-cart-product>
Adds one or more products to the shopping cart (quote).
<magento:cancel-order>
Cancels an order

<magento:cancel-order-invoice>
Cancels an order's invoice

<magento:capture-order-invoice>
Captures and invoice

<magento:create-category>
Creates a new category.
<magento:create-customer>
Creates a customer with the given attributes

<magento:create-customer-address>
Creates a new address for the given customer using the given address attributes

<magento:create-order-invoice>
Creates an invoice for the given order

<magento:create-order-shipment>
Creates a shipment for order

<magento:create-product>
Creates a new product

<magento:create-product-attribute-media>
Creates a new product media.
<magento:create-shopping-cart>
Creates an empty shopping cart.
<magento:create-shopping-cart-order>
Creates an order from a shopping cart (quote).
<magento:delete-category>
Deletes a category.
<magento:delete-category-product>
Remove a product assignment.
<magento:delete-customer>
Deletes a customer given its id

<magento:delete-customer-address>
Deletes a Customer Address

<magento:delete-order-shipment-track>
Deletes the given track of the given order's shipment

<magento:delete-product>
Deletes a product.
<magento:delete-product-attribute-media>
Removes a product image.
<magento:delete-product-link>
Deletes a product's link.
<magento:get-catalog-current-store-view>
Answers the current default catalog store view id for this session

<magento:get-category>
Answers category attributes.
<magento:get-category-tree>
Answers the category tree.
<magento:get-customer>
Answers customer attributes for the given id.
<magento:get-customer-address>
Answers the customer address attributes

<magento:get-info-shopping-cart>
Retrieves full information about the shopping cart (quote).
<magento:get-order>
Answers the order properties for the given orderId

<magento:get-order-invoice>
Retrieves order invoice information

<magento:get-order-shipment>
Retrieves the order shipment attributes

<magento:get-order-shipment-carriers>
Retrieves the order shipment carriers.
<magento:get-product>
Answers a product's specified attributes.
<magento:get-product-attribute-media>
Lists linked products to the given product and for the given link type.
<magento:get-product-special-price>
Answers a product special price.
<magento:hold-order>
Puts order on hold.
<magento:list-category-attribute-options>
Retrieves attribute options.
<magento:list-category-attributes>
Retrieve product image types.
<magento:list-category-levels>
Answers levels of categories for a website, store view and parent category

<magento:list-category-products>
Lists product of a given category.
<magento:list-customer-addresses>
Lists the customer address for a given customer id

<magento:list-customer-groups>
Lists all the customer groups

<magento:list-customers>
Answers a list of customer attributes for the given filter expression.
<magento:list-directory-countries>
Answers the list of countries

<magento:list-directory-regions>
Answers a list of regions for the given county

<magento:list-inventory-stock-items>
Lists inventory stock items.
<magento:list-orders>
Lists order attributes that match the given filtering expression.
<magento:list-orders-invoices>
Lists order invoices that match the given filtering expression

<magento:list-orders-shipments>
Lists order shipment atrributes that match the given optional filtering expression

<magento:list-product-attribute-media>
Retrieves product image list.
<magento:list-product-attribute-media-types>
Retrieve product image types.
<magento:list-product-attribute-options>
Answers the product attribute options.
<magento:list-product-attribute-sets>
Retrieves product attribute sets.
<magento:list-product-attribute-tier-prices>
Retrieve product tier prices.
<magento:list-product-attributes>
Retrieves product attributes list.
<magento:list-product-link>
Lists linked products to the given product and for the given link type

<magento:list-product-link-attributes>
Lists all the attributes for the given product link type

<magento:list-product-link-types>
Answers product link types

<magento:list-product-types>
Answers product types.
<magento:list-products>
Retrieve products list by filters.
<magento:list-shopping-cart-licenses>
Retrieves the website license agreement for the quote according to the website (store).
<magento:list-shopping-cart-payment-methods>
Retrieves a list of available payment methods for a shopping cart (quote).
<magento:list-shopping-cart-products>
Retrieves the list of products in the shopping cart (quote).
<magento:list-shopping-cart-shipping-methods>
Retrieves the list of available shipping methods for a shopping cart (quote).
<magento:list-shopping-cart-totals>
Retrieves total prices for a shopping cart (quote).
<magento:list-stock-items>
Retrieve stock data by product ids

<magento:move-category>
Move category in tree.
<magento:move-shopping-cart-product-to-customer-quote>
Moves products from the current quote to a customer quote.
<magento:remove-shopping-cart-coupon>
Removes a coupon code from a shopping cart (quote).
<magento:remove-shopping-cart-product>
Removes one or several products from a shopping cart (quote).
<magento:set-shopping-cart-customer>
Adds information about the customer to a shopping cart (quote).
<magento:set-shopping-cart-customer-addresses>
Sets the customer addresses in the shopping cart (quote).
<magento:set-shopping-cart-payment-method>
Sets a payment method for a shopping cart (quote), cart must not be empty.
<magento:set-shopping-cart-shipping-method>
Retrieves a shipping method for a shopping cart (quote).
<magento:unhold-order>
Releases order

<magento:update-category>
Updates a category.
<magento:update-category-attribute-store-view>
Set the default catalog store view for this session

<magento:update-category-product>
Updates a category product.
<magento:update-customer>
Updates the given customer attributes, for the given customer id.
<magento:update-customer-address>
Updates the given map of customer address attributes, for the given customer address

<magento:update-inventory-stock-item>
Updates an stock inventory item

<magento:update-product>
Updates a product.
<magento:update-product-attribute-media>
Updates product media.
<magento:update-product-attribute-tier-price>
Updates a single product tier price.
<magento:update-product-link>
Update product link

<magento:update-product-special-price>
Sets a product special price.
<magento:update-shopping-cart-product>
Updates one or several products in the shopping cart (quote).
<magento:update-stock-item>
Update product stock data given its id or sku

<magento:void-order-invoice>
Voids an invoice

Configuration

To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:

<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:magento="http://www.mulesoft.org/schema/mule/magento"
      xsi:schemaLocation="
               http://www.mulesoft.org/schema/mule/core
               http://www.mulesoft.org/schema/mule/core/current/mule.xsd
               http://www.mulesoft.org/schema/mule/magento
               http://www.mulesoft.org/schema/mule/magento/current/mule-magento.xsd">

      <!-- here goes your flows and configuration elements -->

</mule>

This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.

Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.

Attributes
TypeNameDefault ValueDescriptionJava TypeMIME TypeEncoding
xs:string name Optional. Give a name to this configuration so it can be later referenced.
xs:string address The address to access Magento Web Services
xs:string password The password to access Magento Web Services
xs:string username The user name to access Magento Web Services

Message Processors

<magento:add-category-product>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category where the given product will be added int */*
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
position The position of this product String */* UTF-8

<magento:add-order-comment>

Adds a comment to the given order id

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The order id String */* UTF-8
status The comment status String */* UTF-8
comment The comment String */* UTF-8
sendEmail false Optional. If an email must be sent after shipment creation boolean */*

<magento:add-order-invoice-comment>

Adds a comment to the given order's invoice

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
invoiceId The invoice id String */* UTF-8
comment The comment to add String */* UTF-8
sendEmail false Optional. If an email must be sent after shipment creation boolean */*
includeCommentInEmail false Optional. If the comment must be sent in the email boolean */*

<magento:add-order-shipment-comment>

Adds a comment to the shipment.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
shipmentId The shipment's increment id String */* UTF-8
comment The comment to add String */* UTF-8
sendEmail false Optional. If an email must be sent after shipment creation boolean */*
includeCommentInEmail false Optional. If the comment must be sent in the email boolean */*

<magento:add-order-shipment-track>

Adds a new tracking number

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
shipmentId The shipment id String */* UTF-8
carrierCode The new track's carrier code String */* UTF-8
title The new track's title String */* UTF-8
trackId The new track's id String */* UTF-8
Returns
Return Type Description
int the new track's id

<magento:add-product-link>

Links two products, given its source and destination productIdOrSku.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
type The product type String */* UTF-8
productId Optional. The id of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product id Integer */*
productSku Optional. The sku of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the source product. String */* UTF-8
linkedProductIdOrSku The destination product id or sku. String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> Optional. The link attributes Map<String, Object>

<magento:add-shopping-cart-coupon>

Adds a coupon code for a shopping cart (quote). The shopping cart must not be empty. The shopping cart must be created with a storeId for this operation to work.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
couponCode Coupon code String */* UTF-8
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
boolean True if the coupon code is added

<magento:add-shopping-cart-product>

Adds one or more products to the shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:products-attributes> Products data List<Map<String, Object>>
<magento:products-options> Optional. Products options List<Map<String, Object>>
<magento:products-bundle-options> Optional. Products bundle options List<Map<String, Object>>
<magento:products-bundle-options-qty> Optional. Products bundle options quantities List<Map<String, Object>>
Returns
Return Type Description
boolean True on success (if the product is added to the shopping cart)

<magento:cancel-order>

Cancels an order

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The order to cancel String */* UTF-8

<magento:cancel-order-invoice>

Cancels an order's invoice

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
invoiceId The invoice id String */* UTF-8

<magento:capture-order-invoice>

Captures and invoice

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
invoiceId The invoice to capture String */* UTF-8

<magento:create-category>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
parentId The parent category id int */*
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The new category attributes Map<String, Object>
Returns
Return Type Description
int the new category id

<magento:create-customer>

Creates a customer with the given attributes

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The attributes of the new customer Map<String, Object>
Returns
Return Type Description
int the new customer id

<magento:create-customer-address>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
customerId The customer int */*
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The address attributes Map<String, Object>
Returns
Return Type Description
int a new customer address id

<magento:create-order-invoice>

Creates an invoice for the given order

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The id of the order String */* UTF-8
comment Optional. An optional comment String */* UTF-8
sendEmail false Optional. If an email must be sent after shipment creation boolean */*
includeCommentInEmail false Optional. If the comment must be sent in the email boolean */*
Child Elements
NameDefault ValueDescriptionJava Type
<magento:items-quantities> A map containing an entry per each (orderItemId, quantity) pair Map<Integer, Double>
Returns
Return Type Description
String the new invoice's id

<magento:create-order-shipment>

Creates a shipment for order

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The order increment id String */* UTF-8
comment Optional. An optional comment String */* UTF-8
sendEmail false Optional. If an email must be sent after shipment creation boolean */*
includeCommentInEmail false Optional. If the comment must be sent in the email boolean */*
Child Elements
NameDefault ValueDescriptionJava Type
<magento:items-quantities> Optional. A map containing an entry per each (orderItemId, quantity) pair Map<Integer, Double>
Returns
Return Type Description
String the new shipment's id

<magento:create-product>

Creates a new product

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
type The new product's type String */* UTF-8
set The new product's set int */*
sku The new product's sku String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> Optional. The standard attributes of the new product Map<String, Object>
<magento:additional-attributes> Optional. The non standard attributes of the new product Map<String, Object>
Returns
Return Type Description
int the new product's id

<magento:create-product-attribute-media>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
payload The image to upload. It may be a file, an input stream or a byte array Object */*
mimeType The mimetype MediaMimeType */*
baseFileName Optional. The base name of the new remote image String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> Optional. The media attributes Map<String, Object>
Returns
Return Type Description
String the new image filename
Exception Payloads
Payload ClassDescription
FileNotFoundException when the payload object is not a valid file

<magento:create-shopping-cart>

Creates an empty shopping cart. Store Id is optional, but some operations may not work correctly if isn't given in the cart creation.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
int ID of the created empty shopping cart

<magento:create-shopping-cart-order>

Creates an order from a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:licenses> Optional. Website license ID List<String>
Returns
Return Type Description
String result code of order creation

<magento:delete-category>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category to delete int */*

<magento:delete-category-product>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category to delete int */*
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8

<magento:delete-customer>

Deletes a customer given its id

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
customerId The customer to delete int */*

<magento:delete-customer-address>

Deletes a Customer Address

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
addressId The address id to delete int */*

<magento:delete-order-shipment-track>

Deletes the given track of the given order's shipment

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
shipmentId The target shipment id String */* UTF-8
trackId The id of the track to delete String */* UTF-8

<magento:delete-product>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8

<magento:delete-product-attribute-media>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
fileName The remote media file to delete String */* UTF-8

<magento:delete-product-link>

Deletes a product's link.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
type Link type String */* UTF-8
productId Optional. The id of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product id Integer */*
productSku Optional. The sku of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the source product. String */* UTF-8
linkedProductIdOrSku The linked product id or sku String */* UTF-8

<magento:get-catalog-current-store-view>

Answers the current default catalog store view id for this session

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
int the current default store view id

<magento:get-category>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category whose attributes will be retrieved int */*
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attribute-names> The category attributes that will be retrieved List<String>
Returns
Return Type Description
Map<String, Object> the category attributes

<magento:get-category-tree>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
parentId The parent id String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Returns
Return Type Description
Map<String, Object> a category tree attributes

<magento:get-customer>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
customerId The id of the customer to retrieve int */*
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attribute-names> The attributes to retrieve. Not empty List<String>
Returns
Return Type Description
Map<String, Object> the attributes map

<magento:get-customer-address>

Answers the customer address attributes

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
addressId The id of the address int */*
Returns
Return Type Description
Map<String, Object> the customer address attributes map

<magento:get-info-shopping-cart>

Retrieves full information about the shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
Map<String, Object> shopping cart info

<magento:get-order>

Answers the order properties for the given orderId

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The order whose properties to fetch String */* UTF-8
Returns
Return Type Description
Map<String, Object> a string-object map of order properties

<magento:get-order-invoice>

Retrieves order invoice information

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
invoiceId The target invoiceId String */* UTF-8
Returns
Return Type Description
Map<String, Object> the invoice attributes

<magento:get-order-shipment>

Retrieves the order shipment attributes

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
shipmentId The id of the shipment String */* UTF-8
Returns
Return Type Description
Map<String, Object> the shipment attributes

<magento:get-order-shipment-carriers>

Retrieves the order shipment carriers.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The target order id String */* UTF-8
Returns
Return Type Description
List<Carrier> a list of Carrier object

<magento: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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes-names> Optional. The list of standard attributes to be returned List<String>
<magento:additional-attribute-names> Optional. The list of non standard attributes to be returned in the additionalAttributes attribute List<String>
Returns
Return Type Description
Map<String, Object> the attributes

<magento:get-product-attribute-media>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
fileName The name of the file String */* UTF-8
storeViewIdOrCode Optional. The store view id or code String */* UTF-8
Returns
Return Type Description
Map<String, Object> the list of links to the product

<magento:get-product-special-price>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Returns
Return Type Description
Map<String, Object> the product special price attributes

<magento:hold-order>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The order to put on hold state String */* UTF-8

<magento:list-category-attribute-options>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
attributeId The target attribute whose options will be retrieved String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of category attribute options

<magento:list-category-attributes>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
List<Map<String, Object>> the list of category attributes

<magento:list-category-levels>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
website Optional. The website String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
parentCategoryId Optional. The parent category of the categories that will be listed String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of categories attributes

<magento:list-category-products>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category int */*
Returns
Return Type Description
List<Map<String, Object>> the listing of category products

<magento:list-customer-addresses>

Lists the customer address for a given customer id

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
customerId The id of the customer int */*
Returns
Return Type Description
List<Map<String, Object>> a listing of addresses

<magento:list-customer-groups>

Lists all the customer groups

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
List<Map<String, Object>> a listing of groups attributes

<magento:list-customers>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
filter Optional. 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. String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of attributes map

<magento:list-directory-countries>

Answers the list of countries

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
List<Map<String, Object>> a collection of countries attributes

<magento:list-directory-regions>

Answers a list of regions for the given county

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
countryId The country code, in ISO2 or ISO3 format String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the collection of regions attributes

<magento:list-inventory-stock-items>

Lists inventory stock items.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Child Elements
NameDefault ValueDescriptionJava Type
<magento:product-id-or-skus> The list of product ids and/or skus whose attributes will be retrieved List<String>
Returns
Return Type Description
List<Map<String, Object>> the list of attributes

<magento:list-orders>

Lists order attributes that match the given filtering expression.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
filter Optional. 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. String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> a list of string-object maps

<magento:list-orders-invoices>

Lists order invoices that match the given filtering expression

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
filter Optional. 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. String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> list of string-object maps order attributes

<magento:list-orders-shipments>

Lists order shipment atrributes that match the given optional filtering expression

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
filter Optional. 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. String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> list of string-object map order shipments attributes

<magento:list-product-attribute-media>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of product images attributes

<magento:list-product-attribute-media-types>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
setId The setId int */*
Returns
Return Type Description
List<Map<String, Object>> the list of attribute media types

<magento:list-product-attribute-options>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
attributeId The target attribute whose options will be listed String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the attributes list

<magento:list-product-attribute-sets>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
List<Map<String, Object>> The list of product attributes sets

<magento:list-product-attribute-tier-prices>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of product attributes

<magento:list-product-attributes>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
setId The set id int */*
Returns
Return Type Description
List<Map<String, Object>> the list of product attributes

<magento:list-product-link>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
type The link type String */* UTF-8
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of links to the product

<magento:list-product-link-attributes>

Lists all the attributes for the given product link type

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
type The product type String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the listing of product attributes

<magento:list-product-link-types>

Answers product link types

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
List<String> the list of product link types

<magento:list-product-types>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
List<Map<String, Object>> the list of product types

<magento:list-products>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
filter Optional. 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. String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> the list of product attributes that match the given optional filtering expression

<magento:list-shopping-cart-licenses>

Retrieves the website license agreement for the quote according to the website (store). Store id must be given in cart creation.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> licences for the shopping cart

<magento:list-shopping-cart-payment-methods>

Retrieves a list of available payment methods for a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
Map<String, Object> Payment methods available

<magento:list-shopping-cart-products>

Retrieves the list of products in the shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> products in the shopping cart.

<magento:list-shopping-cart-shipping-methods>

Retrieves the list of available shipping methods for a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> Shipping methods available

<magento:list-shopping-cart-totals>

Retrieves total prices for a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping cart ID (quote identifier) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
List<Map<String, Object>> shopping cart total prices

<magento:list-stock-items>

Retrieve stock data by product ids

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Child Elements
NameDefault ValueDescriptionJava Type
<magento:product-id-or-skus> A not empty list of product ids or skus whose attributes to list List<String>
Returns
Return Type Description
List<Map<String, Object>> a list of stock items attributes

<magento: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 .

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The id of the category to be moved int */*
parentId The new parent category id int */*
afterId Optional. An optional category id for use as reference in the positioning of the moved category String */* UTF-8

<magento:move-shopping-cart-product-to-customer-quote>

Moves products from the current quote to a customer quote.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:products-attributes> Products data List<Map<String, Object>>
<magento:products-options> Optional. Products options List<Map<String, Object>>
<magento:products-bundle-options> Optional. Products bundle options List<Map<String, Object>>
<magento:products-bundle-options-qty> Optional. Products bundle options quantities List<Map<String, Object>>
Returns
Return Type Description
boolean True if the product is moved to customer quote

<magento:remove-shopping-cart-coupon>

Removes a coupon code from a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
boolean True if the coupon code is removed

<magento:remove-shopping-cart-product>

Removes one or several products from a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:products-attributes> Products data List<Map<String, Object>>
<magento:products-options> Optional. Products options List<Map<String, Object>>
<magento:products-bundle-options> Optional. Products bundle options List<Map<String, Object>>
<magento:products-bundle-options-qty> Optional. Products bundle options quantities List<Map<String, Object>>
Returns
Return Type Description
boolean True if the product is removed

<magento:set-shopping-cart-customer>

Adds information about the customer to a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:customer> Cuestomer data Map<String, Object>
Returns
Return Type Description
boolean True if information is added

<magento:set-shopping-cart-customer-addresses>

Sets the customer addresses in the shopping cart (quote). Don't set a coupon to the cart before using this method, the address won't be set.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:addresses> Addresses data (mode is required for each address and should be either "shipping" or "billing") List<Map<String, Object>>
Returns
Return Type Description
boolean True if information is added

<magento:set-shopping-cart-payment-method>

Sets a payment method for a shopping cart (quote), cart must not be empty.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:method> Payment mehthod data Map<String, Object>
Returns
Return Type Description
boolean True on success

<magento:set-shopping-cart-shipping-method>

Retrieves a shipping method for a shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
method Shipping method code String */* UTF-8
storeId Optional. Store view ID or code String */* UTF-8
Returns
Return Type Description
boolean True if the shipping method is retrieved

<magento:unhold-order>

Releases order

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
orderId The id of the order to remove from hold state String */* UTF-8

<magento:update-category>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category to update int */*
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The category new attributes Map<String, Object>

<magento:update-category-attribute-store-view>

Set the default catalog store view for this session

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
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 String */* UTF-8

<magento:update-category-product>

Updates a category product.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
categoryId The category id int */*
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
position The category position for ordering the category inside its level String */* UTF-8

<magento:update-customer>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
customerId The target customer to update int */*
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The attributes map Map<String, Object>

<magento:update-customer-address>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
addressId The customer address to update int */*
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The address attributes to update Map<String, Object>

<magento:update-inventory-stock-item>

Updates an stock inventory item

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The new attributes of the stock item Map<String, Object>

<magento:update-product>

Updates a product. At least one of attributes or additionalAttributes must be non null and non empty. See catalog-category-updateProduct SOAP method

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> Optional. The map of standard product attributes to update Map<String, Object>
<magento:additional-attributes> Optional. The map of non standard product attributes to update Map<String, Object>

<magento:update-product-attribute-media>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
fileName The name of the remote media file to update String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The attributes to update Map<String, Object>

<magento:update-product-attribute-tier-price>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The tier price to update. Map<String, Object>

<magento:update-product-link>

Update product link

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
type The link type String */* UTF-8
productId Optional. The id of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product id Integer */*
productSku Optional. The sku of the source product. Use it instead of productIdOrSku in case you are sure the source product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the source product. String */* UTF-8
linkedProductIdOrSku The destination product id or sku. String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The link attributes Map<String, Object>

<magento:update-product-special-price>

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

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productId Optional. The id of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product id Integer */*
productSku Optional. The sku of the product. Use it instead of productIdOrSku in case you are sure the product identifier is a product sku String */* UTF-8
productIdOrSku Optional. The id or sku of the product. String */* UTF-8
specialPrice The special price to set String */* UTF-8
fromDate Optional. Optional start date of the special price period String */* UTF-8
toDate Optional. Optional end date of the special price period String */* UTF-8
storeViewIdOrCode Optional. The id or code of the target store. Left unspecified for using current store String */* UTF-8

<magento:update-shopping-cart-product>

Updates one or several products in the shopping cart (quote).

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
quoteId Shopping Cart ID (quote ID) int */*
storeId Optional. Store view ID or code String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:products-attributes> Products data List<Map<String, Object>>
<magento:products-options> Optional. Products options List<Map<String, Object>>
<magento:products-bundle-options> Optional. Products bundle options List<Map<String, Object>>
<magento:products-bundle-options-qty> Optional. Products bundle options quantities List<Map<String, Object>>
Returns
Return Type Description
boolean True if the product is updated

<magento:update-stock-item>

Update product stock data given its id or sku

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
productIdOrSku The product id or sku of the product to update String */* UTF-8
Child Elements
NameDefault ValueDescriptionJava Type
<magento:attributes> The attributes to update Map<String, Object>

<magento:void-order-invoice>

Voids an invoice

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
invoiceId The invoice id String */* UTF-8

Message Sources

Transformers