Re: [Architecture] Connector:Magento

2014-07-08 Thread Rasika Hettige
Hi All,

Following 3 methods are not implemented due unavailability of test data.

•   captureInvoice
•   cancelInvoice
•   cancelCreditMemo

Thanks & Regards
Rasika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p99203.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-18 Thread Rasika Hettige
Hi All,

As there are no any other suggestions to the method list, we consider
following as the final list.

*Initialization*
*login *- Start the API session, return the session ID, and authorize the
API user. 

*Catalog Product Tier Price*
*getCatalogProductTierPriceInfo *- Retrieve information about product tier
prices 
*updateCatalogProductTierPrice *- Update the product tier prices 

*Catalog Inventory*
*listStockData *- Retrieve the list of stock data by product IDs 
*updateStockData*- Update the stock data for a list of products 

*Cart Customer*
*setCustomerInformation *- Add customer information into a shopping cart 
*setCustomerAddresses *- Set the customer addresses (shipping and billing)
into a shopping cart 

*Cart Payment*
*setCartPaymentMethod *- Set a payment method for a shopping cart 
*listAvailableCartPaymentMethods *- Get the list of available payment
methods for a shopping cart 

*Cart Product*
*addCartProduct*- Add one or more products to a shopping cart 
*updateCartProduct *- Update one or more products in a shopping cart 
*removeCartProduct *- Remove one or more products from a shopping cart 
*listCartProducts *- Get a list of products in a shopping cart 
*moveProductFromQuoteToCart *-Move one or more products from the quote to
the customer shopping cart 

*Cart Shipping*
*setCartShippingMethod *- Set a shipping method for a shopping cart 
*listAvailableCartShippingMethods *- Retrieve the list of available shipping
methods for a shopping cart 

*Shopping Cart*
*createShoppingCart *- Create a blank shopping cart 
*createOrderFromShoppingCart *- Create an order from a shopping cart 
*getShoppingCartInfo *- Get full information about the current shopping cart 
*getShoppingCartTotals *-   Get all available prices for items in shopping
cart, using additional parameters 

*Customer*
*createCustomer *- Create a new customer 
*getCustomerInfo*- Retrieve the customer data 
*updateCustomer *- Update the customer data 
*deleteCustomer *- Delete a required customer 

*Customer Address*
*createCustomerAddress *- Create a new address for a customer 
*getCustomerAddressInfo *- Retrieve the specified customer address 
*updateCustomerAddress *- Update the customer address 
*deleteCustomerAddress *-   Delete the customer address 

*Sales Order*
*getOrderInfo *- Retrieve the order information 
*addCommentToOrder *- Add a comment to an order 
*cancelOrder *- Cancel an order 

*Sales Order Invoice*
*getInvoiceInfo *- Retrieve information about the invoice 
*createInvoice *- Create a new invoice for an order 
*captureInvoice *- Capture an invoice 
*cancelInvoice *- Cancel an invoice 

*Sales Order Credit Memo*
*getCreditMemoInfo* -  Retrieve the credit memo information 
*createCreditMemo *-   Create a new credit memo for order 
*cancelCreditMemo* -   Cancel the credit memo 
*addCommentToCreditMemo *-  Add a new comment to the credit memo 

*Sales Order Shipment*
*getShipmentInfo *- Retrieve information about the shipment 
*createShipment *- Create a new shipment for an order 
*addCommentToShipment *- Add a new comment to a shipment 

Thanks & Regards
Rasika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98309.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-16 Thread Rasika Hettige
Hi Dakshika,

As you suggested will include following methods under the "*Sales Order
Credit Memo*". 
Sorry,  we have missed out that functionality :(

*getCreditMemoInfo *-  Retrieve the credit memo information
*createCreditMemo *-   Create a new credit memo for order
*cancelCreditMemo *-   Cancel the credit memo
*addCommentToCreditMemo *-  Add a new comment to the credit memo

Please let us know, if you have any other suggestions on the given list. 

Thanks & Regards
Rasika

 



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98238.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-16 Thread Dakshika Jayathilaka
Sales Order Credit Memo is important functionality, why you always removing
it. :(

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Mon, Jun 16, 2014 at 5:12 PM, Rasika Hettige  wrote:

> Hi All
>
> When we go through the final method list, we thought that following methods
> under "Sales Order Invoice" should also be included as they add a
> significant value to version 1.
>
> getInvoiceInfo - Retrieve information about the invoice
> createInvoice - Create a new invoice for an order
> captureInvoice - Capture an invoice
> cancelInvoice - Cancel an invoice
>
> Thanks & Regards
> Rasika
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98222.html
> Sent from the WSO2 Architecture mailing list archive at Nabble.com.
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-16 Thread Rasika Hettige
Hi All

When we go through the final method list, we thought that following methods
under "Sales Order Invoice" should also be included as they add a
significant value to version 1.

getInvoiceInfo - Retrieve information about the invoice
createInvoice - Create a new invoice for an order
captureInvoice - Capture an invoice
cancelInvoice - Cancel an invoice

Thanks & Regards
Rasika











--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98222.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-16 Thread Rasika Hettige
Hi All,

Please find the correct method list (SOAP API) that will considered as
final. (By mistakenly I have included the REST method list in my previous
reply)

*Initialization*
login - Start the API session, return the session ID, and authorize the API
user. 

*Catalog Product Tier Price*
getCatalogProductTierPriceInfo - Retrieve information about product tier
prices 
updateCatalogProductTierPrice - Update the product tier prices 

*Catalog Inventory*
listStockData - Retrieve the list of stock data by product IDs 
updateStockData- Update the stock data for a list of products 

*Cart Customer*
setCustomerInformation - Add customer information into a shopping cart 
setCustomerAddresses - Set the customer addresses (shipping and billing)
into a shopping cart 

*Cart Payment*
setCartPaymentMethod - Set a payment method for a shopping cart 
listAvailableCartPaymentMethods- Get the list of available payment
methods for a shopping cart 

*Cart Product*
addCartProduct- Add one or more products to a shopping cart 
updateCartProduct - Update one or more products in a shopping cart 
removeCartProduct - Remove one or more products from a shopping cart 
listCartProducts - Get a list of products in a shopping cart 
moveProductFromQuoteToCart -Move one or more products from the quote to the
customer shopping cart 

*Cart Shipping*
setCartShippingMethod - Set a shipping method for a shopping cart 
listAvailableCartShippingMethods - Retrieve the list of available shipping
methods for a shopping cart 

*Shopping Cart*
createShoppingCart - Create a blank shopping cart 
createOrderFromShoppingCart - Create an order from a shopping cart 
getShoppingCartInfo - Get full information about the current shopping cart 
getShoppingCartTotals - Get all available prices for items in shopping cart,
using additional parameters 

*Customer*
createCustomer - Create a new customer 
getCustomerInfo - Retrieve the customer data 
updateCustomer  - Update the customer data 
deleteCustomer  - Delete a required customer 

*Customer Address*
createCustomerAddress - Create a new address for a customer 
getCustomerAddressInfo - Retrieve the specified customer address 
updateCustomerAddress - Update the customer address 
deleteCustomerAddress - Delete the customer address 

*Sales Order*
getOrderInfo - Retrieve the order information 
addCommentToOrder - Add a comment to an order 
cancelOrder - Cancel an order 

*Sales Order Invoice*
getShipmentInfo - Retrieve information about the shipment 
createShipment  - Create a new shipment for an order 
addCommentToShipment - Add a new comment to a shipment 

Thanks & Regards
Rasika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98220.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-13 Thread Rasika Hettige
Hi All,

Please find the final method selection of this connector. Please confirm on
this.

Products
*createProduct *- Create a new Product. 
*updateProduct *- Update an existing Product. 
*deleteProduct *- Delete an existing Product. 
*listProducts *- List products existing within the instance. 
*getProduct *- Get details for a single product. 

Product Categories
*getProductCategory *- Get categories a specific product falls under. 
*addCategoryToProduct *- Add a category to a specific product. 
*deleteCategoryFromProduct *- Remove a product from a category. 

Product Images
*getProductImages *- Retrieves details for images associated with a product. 
   - Note: This method covers the
functionality of get, [store_image]get, [single_image]get and
[store_image/single_image]get
*addProductImage *- Adds a single image to a product. 
  - Note: This method also covers
the functionality of add and 
 [store_image]add
*updateProductImage *- Updates details (and content) of a single image
assigned to a product. 
   - Note: This method also
covers the functionality of 
  [single_image]update and 
 
store_image/single_image]update
*deleteProductImage *- Deletes a single image assigned to a product. 
 - Note: This method also covers
the functionality of [single_image]delete and
[store_image/single_image]delete 

Orders
*listOrders *- Gets a list of orders. 
*getOrder *- Gets details of a single order by ID. 

Order Addresses
*getOrderAddresses *- Retrieve information about billing and shipping
addresses of the required 
  order. 
- Note: This method also covers
the functionality of get , 
  [shipping]get and [billing]get

Order Comments
*getOrderComments *- Get comments assigned to an order. 

Order Items
*getOrderItems *- Get items for an order. 

Inventory
*listStockItems *- Retrieve a list of existing stock items. 
*getStockItem *- Get details of a single stock item by ID. 
*updateStockItem *- Update details for a single stock item. 

Customer Addresses
*listCustomerAddresses *- Lists addresses defined for a customer. 
*addCustomerAddress *- Adds a new address for a customer. 
*updateCustomerAddress *- Updates a single customer address by address ID. 
*deleteCustomerAddress *- Deletes a single customer address. 

Customers
*getCustomer *- Get details of a single customer 
*createCustomer  *- Creates a new Customer 
*updateCustomer  *- Updates details of a single customer 
*deleteCustomer   *- Deletes a single customer. 

Thanks & Regards
Rasika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98167.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-12 Thread Shevan Goonetilleke
ok, thanks


On Fri, Jun 13, 2014 at 9:34 AM, Ramindu Deshapriya 
wrote:

> Hi Shevan,
>
>
> Shevan Goonetilleke wrote
> > Do the following also fall into the 'back-office' category? If so we can
> > leave them out for now.
> >
> > *Catalog Product Tier Price*
> > *getCatalogProductTierPriceInfo* - Retrieve information about product
> tier
> > prices
> > *updateCatalogProductTierPrice *- Update the product tier prices
>
> We'd need tier price info to assign discounts on purchases.
>
>
> Shevan Goonetilleke wrote
> > *Catalog Inventory*
> > *listStockData *- Retrieve the list of stock data by product IDs
> > *updateStockData*- Update the stock data for a list of products
>
> You'd need listStockData to figure out whether stock is available when
> making a sale.
> updateStockData is needed to update the amount available in stock after a
> sale is confirmed.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98125.html
> Sent from the WSO2 Architecture mailing list archive at Nabble.com.
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>



-- 
Shevan Goonetilleke
Director of Engineering
WSO2, Inc.
lean.enterprise.middleware
m: +94777340680
w: http://wso2.com
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-12 Thread Ramindu Deshapriya
Hi Shevan,


Shevan Goonetilleke wrote
> Do the following also fall into the 'back-office' category? If so we can
> leave them out for now.
> 
> *Catalog Product Tier Price*
> *getCatalogProductTierPriceInfo* - Retrieve information about product tier
> prices
> *updateCatalogProductTierPrice *- Update the product tier prices

We'd need tier price info to assign discounts on purchases.


Shevan Goonetilleke wrote
> *Catalog Inventory*
> *listStockData *- Retrieve the list of stock data by product IDs
> *updateStockData*- Update the stock data for a list of products

You'd need listStockData to figure out whether stock is available when
making a sale.
updateStockData is needed to update the amount available in stock after a
sale is confirmed.

Thanks. 



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p98125.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-12 Thread Shevan Goonetilleke
Do the following also fall into the 'back-office' category? If so we can
leave them out for now.

*Catalog Product Tier Price*
*getCatalogProductTierPriceInfo* - Retrieve information about product tier
prices
*updateCatalogProductTierPrice *- Update the product tier prices

*Catalog Inventory*
*listStockData *- Retrieve the list of stock data by product IDs
*updateStockData*- Update the stock data for a list of products


On Mon, Jun 9, 2014 at 6:54 PM, Rasika Hettige  wrote:

> Hi All,
>
> As requested, please find the the analysis of SOAP API. In doing the
> analysis,  we have considered
> only the Customer and Sales related functions and disregarded the
> back-office functionalities.
>
> *Introduction*
> Magento is an open source e-commerce web application. It is a content
> management system (CMS) based on PHP and MySQL for web hosting service,
> which was built using parts of the Zend Framework.It provides full support
> for object-oriented programming and Model-View-Controller (MVC)
> architecture.
>
> *API (SOAP)*
> http://www.magentocommerce.com/api/soap/introduction.html
>
> *Magento Connector Summary*
> • Connector Name:  magento-connector-1.0.0
> • Version: 1.0.0
> • Technology:  SOAP
>
> *Authentication*
> To authenticate, it uses a sesstionId  which generates from the login
> functionality.
>
> Methods Selected:
>
> *Initialization*
> *login *- Start the API session, return the session ID, and authorize the
> API user.
>
> *Catalog Product Tier Price*
> *getCatalogProductTierPriceInfo* - Retrieve information about product tier
> prices
> *updateCatalogProductTierPrice *- Update the product tier prices
>
> *Catalog Inventory*
> *listStockData *- Retrieve the list of stock data by product IDs
> *updateStockData*- Update the stock data for a list of products
>
> *Cart Customer*
> *setCustomerInformation* - Add customer information into a shopping cart
> *setCustomerAddresses* - Set the customer addresses (shipping and billing)
> into a shopping cart
>
> *Cart Payment*
> *setCartPaymentMethod* - Set a payment method for a shopping cart
> *listAvailableCartPaymentMethods*   - Get the list of available payment
> methods for a shopping cart
>
> *Cart Product*
> *addCartProduct*- Add one or more products to a shopping cart
> *updateCartProduct* - Update one or more products in a shopping cart
> *removeCartProduct *- Remove one or more products from a shopping cart
> *listCartProducts *- Get a list of products in a shopping cart
> *moveProductFromQuoteToCart *-Move one or more products from the quote to
> the customer shopping cart
>
> *Cart Shipping*
> *setCartShippingMethod *- Set a shipping method for a shopping cart
> *listAvailableCartShippingMethods *- Retrieve the list of available
> shipping
> methods for a shopping cart
>
> *Shopping Cart*
> *createShoppingCart *- Create a blank shopping cart
> *createOrderFromShoppingCart *- Create an order from a shopping cart
> *getShoppingCartInfo *- Get full information about the current shopping
> cart
> *getShoppingCartTotals *-   Get all available prices for items in
> shopping
> cart, using additional parameters
>
> *Customer*
> *createCustomer *- Create a new customer
> *getCustomerInfo*- Retrieve the customer data
> *updateCustomer *- Update the customer data
> *deleteCustomer *- Delete a required customer
>
> *Customer Address*
> *createCustomerAddress *- Create a new address for a customer
> *getCustomerAddressInfo *- Retrieve the specified customer address
> *updateCustomerAddress *- Update the customer address
> *deleteCustomerAddress *-   Delete the customer address
>
> *Sales Order*
> *getOrderInfo *- Retrieve the order information
> *addCommentToOrder *- Add a comment to an order
> *cancelOrder *- Cancel an order
>
> *Sales Order Invoice*
> *getShipmentInfo* - Retrieve information about the shipment
> *createShipment *- Create a new shipment for an order
> *addCommentToShipment *- Add a new comment to a shipment
>
>
> Methods not selected:
>
> The methods under following categories are not considered as they are more
> related to back-office functionalities.
>
> Catalog Category
> Catalog Category Attributes
> Catalog Product
> Catalog Product Attributes
> Catalog Product Attribute Media - Manage product images
> Catalog Product Attribute Set
> Catalog Product Custom Option
> Catalog Product Custom Option Value
> Catalog Product Downloadable Link
> Catalog Product Link
> Catalog Product Tag
> Catalog Product Types
> Cart Coupon
> Sales Order Credit Memo
> Enterprise Customer Balance (Store Credit)
> Shopping Cart Customer Balance (Store Credit)
> Customer Gift Card
> Shopping Cart Gift Card
> Gift Card Account
> Enterprise Gift Message
> Store View API
> Magento Core API
>
> Thanks & Regards
> Rasika
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p97961.html
> Sent from the WSO2 Architecture mailing list archive at Nabble.com.
> 

Re: [Architecture] Connector:Magento

2014-06-09 Thread Rasika Hettige
Hi All,

As requested, please find the the analysis of SOAP API. In doing the
analysis,  we have considered
only the Customer and Sales related functions and disregarded the 
back-office functionalities.

*Introduction*
Magento is an open source e-commerce web application. It is a content
management system (CMS) based on PHP and MySQL for web hosting service,
which was built using parts of the Zend Framework.It provides full support
for object-oriented programming and Model-View-Controller (MVC)
architecture. 

*API (SOAP)*
http://www.magentocommerce.com/api/soap/introduction.html

*Magento Connector Summary*
• Connector Name:  magento-connector-1.0.0 
• Version: 1.0.0 
• Technology:  SOAP

*Authentication*
To authenticate, it uses a sesstionId  which generates from the login
functionality. 

Methods Selected:

*Initialization*
*login *- Start the API session, return the session ID, and authorize the
API user.

*Catalog Product Tier Price*
*getCatalogProductTierPriceInfo* - Retrieve information about product tier
prices
*updateCatalogProductTierPrice *- Update the product tier prices

*Catalog Inventory*
*listStockData *- Retrieve the list of stock data by product IDs
*updateStockData*- Update the stock data for a list of products

*Cart Customer*
*setCustomerInformation* - Add customer information into a shopping cart
*setCustomerAddresses* - Set the customer addresses (shipping and billing)
into a shopping cart

*Cart Payment*
*setCartPaymentMethod* - Set a payment method for a shopping cart
*listAvailableCartPaymentMethods*   - Get the list of available payment
methods for a shopping cart

*Cart Product*
*addCartProduct*- Add one or more products to a shopping cart
*updateCartProduct* - Update one or more products in a shopping cart
*removeCartProduct *- Remove one or more products from a shopping cart
*listCartProducts *- Get a list of products in a shopping cart
*moveProductFromQuoteToCart *-Move one or more products from the quote to
the customer shopping cart

*Cart Shipping*
*setCartShippingMethod *- Set a shipping method for a shopping cart
*listAvailableCartShippingMethods *- Retrieve the list of available shipping
methods for a shopping cart

*Shopping Cart*
*createShoppingCart *- Create a blank shopping cart
*createOrderFromShoppingCart *- Create an order from a shopping cart
*getShoppingCartInfo *- Get full information about the current shopping cart
*getShoppingCartTotals *-   Get all available prices for items in shopping
cart, using additional parameters

*Customer*
*createCustomer *- Create a new customer
*getCustomerInfo*- Retrieve the customer data
*updateCustomer *- Update the customer data
*deleteCustomer *- Delete a required customer

*Customer Address*
*createCustomerAddress *- Create a new address for a customer
*getCustomerAddressInfo *- Retrieve the specified customer address
*updateCustomerAddress *- Update the customer address
*deleteCustomerAddress *-   Delete the customer address

*Sales Order*
*getOrderInfo *- Retrieve the order information
*addCommentToOrder *- Add a comment to an order
*cancelOrder *- Cancel an order

*Sales Order Invoice*
*getShipmentInfo* - Retrieve information about the shipment
*createShipment *- Create a new shipment for an order
*addCommentToShipment *- Add a new comment to a shipment


Methods not selected:

The methods under following categories are not considered as they are more
related to back-office functionalities.

Catalog Category
Catalog Category Attributes
Catalog Product
Catalog Product Attributes
Catalog Product Attribute Media - Manage product images
Catalog Product Attribute Set
Catalog Product Custom Option
Catalog Product Custom Option Value
Catalog Product Downloadable Link
Catalog Product Link
Catalog Product Tag
Catalog Product Types
Cart Coupon
Sales Order Credit Memo
Enterprise Customer Balance (Store Credit)
Shopping Cart Customer Balance (Store Credit)
Customer Gift Card
Shopping Cart Gift Card
Gift Card Account
Enterprise Gift Message
Store View API
Magento Core API

Thanks & Regards
Rasika









--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p97961.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-05 Thread Malaka Silva
Thx.

The issue here is some methods may be missing in rest as mentioned by
Dakshika.


On Thu, Jun 5, 2014 at 12:57 AM, Rasika Hettige  wrote:

> Hi Malaka,
>
> As per the initial discussions on connectors, it was suggested to give the
> first priority on REST when you have both REST/SOAP. So we have considered
> REST here. Anyways, since there are less functionalities in REST, will do a
> further analysis on SOAP and come back to you.
>
> Thanks & Regards
> Rasika
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p97860.html
> Sent from the WSO2 Architecture mailing list archive at Nabble.com.
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>



-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/


Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-04 Thread Rasika Hettige
Hi Malaka,

As per the initial discussions on connectors, it was suggested to give the
first priority on REST when you have both REST/SOAP. So we have considered
REST here. Anyways, since there are less functionalities in REST, will do a
further analysis on SOAP and come back to you.

Thanks & Regards
Rasika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825p97860.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] Connector:Magento

2014-06-04 Thread Malaka Silva
Yes I also agree. It seems only subset is available via rest.

Even though we are implementing limited methods it will be easy to extend
if we use soap.

@Rasika
Have you guys checked both options?



On Wed, Jun 4, 2014 at 9:36 PM, Dakshika Jayathilaka 
wrote:

> Magnto REST doesn't cover most important sections like sales in detail,
> why can't we try their SOAP??  it cover almost everything
>
> http://www.magentocommerce.com/api/soap/introduction.html
>
>
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
>
> On Wed, Jun 4, 2014 at 12:40 PM, Rasika Hettige  wrote:
>
>> *Introduction*
>> Magento is an open source e-commerce web application. It is a content
>> management system (CMS) based on PHP and MySQL for web hosting service,
>> which was built using parts of the Zend Framework.It provides full support
>> for object-oriented programming and Model-View-Controller (MVC)
>> architecture.
>>
>> *API (REST)*
>> http://www.magentocommerce.com/api/rest/introduction.html
>>
>> *Magento Connector Summary*
>> • Connector Name:  magento-connector-1.0.0
>> • Version: 1.0.0
>> • Technology:  REST
>>
>> *Authentication*
>> Magento REST API uses 3-legged OAuth 1.0a protocol to authenticate the
>> application to access the Magento service.
>>
>> *Methods Selected:*
>>
>> *Products*
>> *createProduct* - Create a new Product.
>> *updateProduct* - Update an existing Product.
>> *deleteProduct* - Delete an existing Product.
>> *listProducts* - List products existing within the instance.
>> *getProduct* - Get details for a single product.
>>
>> *Product Categories*
>> *getProductCategory *- Get categories a specific product falls under.
>> *addCategoryToProduct *- Add a category to a specific product.
>> *deleteCategoryFromProduct *- Remove a product from a category.
>>
>> *Product Images*
>> *getProductImages *- Retrieves details for images associated with a
>> product.
>>- Note: This method covers the
>> functionality of *get*, *[store_image]get*, *[single_image]get* and
>> *[store_image/single_image]get*
>> *addProductImage* - Adds a single image to a product.
>>   - Note: This method also covers
>> the
>> functionality of *add* and *
>>  [store_image]add*
>> *updateProductImage *- Updates details (and content) of a single image
>> assigned to a product.
>>- Note: This method also
>> covers the
>> functionality of *
>>   [single_image]update*
>> and
>>
>> *store_image/single_image]update*
>> deleteProductImage - Deletes a single image assigned to a product.
>>  Note: This method also covers the functionality of
>> [single_image]delete and [store_image/single_image]delete
>>
>> *Orders*
>> *listOrders *- Gets a list of orders.
>> *getOrder *- Gets details of a single order by ID.
>>
>> *Order Addresses*
>> *getOrderAddresses* - Retrieve information about billing and shipping
>> addresses of the required
>>   order.
>> - Note: This method also
>> covers the
>> functionality of *get* ,
>>   *[shipping]get* and
>> *[billing]get*
>>
>> *Order Comments*
>> *getOrderComments* - Get comments assigned to an order.
>>
>> *Order Items*
>> *getOrderItems* - Get items for an order.
>>
>> *Inventory*
>> *listStockItems *- Retrieve a list of existing stock items.
>> *getStockItem *- Get details of a single stock item by ID.
>> *updateStockItem *- Update details for a single stock item.
>>
>> *Customer Addresses*
>> *listCustomerAddresses *- Lists addresses defined for a customer.
>> *addCustomerAddress *- Adds a new address for a customer.
>> *updateCustomerAddress *- Updates a single customer address by address ID.
>> *deleteCustomerAddress *- Deletes a single customer address.
>>
>> *Customers*
>> *getCustomer* - Get details of a single customer
>> *createCustomer * - Creates a new Customer
>> *updateCustomer * - Updates details of a single customer
>> *deleteCustomer  * - Deletes a single customer.
>>
>> *Methods not selected:*
>>
>> *Product Websites*
>> *get ,add [Website Assignment with Product Data Copying]add
>> ,[Multi-Website
>> Assignment]add ,[Multi-Website Assignment with Product Data Copying]post*,
>> and *delete* methods disregarded from the first version as they are
>> supporting one time entry functionalities.
>>
>> *[single]get *- Functionality of this method is covered under listOrders
>> method.
>> *[single]get* - Functionality of this method is covered under
>> listCustomerAddresses method.
>> *listCustomers* - This method is ignored from the first version as it has
>> a
>> less business value than the getCustomer method .
>>
>>
>> Thanks & Regards
>> Rasika
>>
>>
>>
>> --
>> View this messa

Re: [Architecture] Connector:Magento

2014-06-04 Thread Dakshika Jayathilaka
Magnto REST doesn't cover most important sections like sales in detail, why
can't we try their SOAP??  it cover almost everything

http://www.magentocommerce.com/api/soap/introduction.html



*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Wed, Jun 4, 2014 at 12:40 PM, Rasika Hettige  wrote:

> *Introduction*
> Magento is an open source e-commerce web application. It is a content
> management system (CMS) based on PHP and MySQL for web hosting service,
> which was built using parts of the Zend Framework.It provides full support
> for object-oriented programming and Model-View-Controller (MVC)
> architecture.
>
> *API (REST)*
> http://www.magentocommerce.com/api/rest/introduction.html
>
> *Magento Connector Summary*
> • Connector Name:  magento-connector-1.0.0
> • Version: 1.0.0
> • Technology:  REST
>
> *Authentication*
> Magento REST API uses 3-legged OAuth 1.0a protocol to authenticate the
> application to access the Magento service.
>
> *Methods Selected:*
>
> *Products*
> *createProduct* - Create a new Product.
> *updateProduct* - Update an existing Product.
> *deleteProduct* - Delete an existing Product.
> *listProducts* - List products existing within the instance.
> *getProduct* - Get details for a single product.
>
> *Product Categories*
> *getProductCategory *- Get categories a specific product falls under.
> *addCategoryToProduct *- Add a category to a specific product.
> *deleteCategoryFromProduct *- Remove a product from a category.
>
> *Product Images*
> *getProductImages *- Retrieves details for images associated with a
> product.
>- Note: This method covers the
> functionality of *get*, *[store_image]get*, *[single_image]get* and
> *[store_image/single_image]get*
> *addProductImage* - Adds a single image to a product.
>   - Note: This method also covers
> the
> functionality of *add* and *
>  [store_image]add*
> *updateProductImage *- Updates details (and content) of a single image
> assigned to a product.
>- Note: This method also
> covers the
> functionality of *
>   [single_image]update* and
>
> *store_image/single_image]update*
> deleteProductImage - Deletes a single image assigned to a product.
>  Note: This method also covers the functionality of
> [single_image]delete and [store_image/single_image]delete
>
> *Orders*
> *listOrders *- Gets a list of orders.
> *getOrder *- Gets details of a single order by ID.
>
> *Order Addresses*
> *getOrderAddresses* - Retrieve information about billing and shipping
> addresses of the required
>   order.
> - Note: This method also
> covers the
> functionality of *get* ,
>   *[shipping]get* and
> *[billing]get*
>
> *Order Comments*
> *getOrderComments* - Get comments assigned to an order.
>
> *Order Items*
> *getOrderItems* - Get items for an order.
>
> *Inventory*
> *listStockItems *- Retrieve a list of existing stock items.
> *getStockItem *- Get details of a single stock item by ID.
> *updateStockItem *- Update details for a single stock item.
>
> *Customer Addresses*
> *listCustomerAddresses *- Lists addresses defined for a customer.
> *addCustomerAddress *- Adds a new address for a customer.
> *updateCustomerAddress *- Updates a single customer address by address ID.
> *deleteCustomerAddress *- Deletes a single customer address.
>
> *Customers*
> *getCustomer* - Get details of a single customer
> *createCustomer * - Creates a new Customer
> *updateCustomer * - Updates details of a single customer
> *deleteCustomer  * - Deletes a single customer.
>
> *Methods not selected:*
>
> *Product Websites*
> *get ,add [Website Assignment with Product Data Copying]add ,[Multi-Website
> Assignment]add ,[Multi-Website Assignment with Product Data Copying]post*,
> and *delete* methods disregarded from the first version as they are
> supporting one time entry functionalities.
>
> *[single]get *- Functionality of this method is covered under listOrders
> method.
> *[single]get* - Functionality of this method is covered under
> listCustomerAddresses method.
> *listCustomers* - This method is ignored from the first version as it has a
> less business value than the getCustomer method .
>
>
> Thanks & Regards
> Rasika
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825.html
> Sent from the WSO2 Architecture mailing list archive at Nabble.com.
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
___
Architecture mailing list
Architectur

[Architecture] Connector:Magento

2014-06-04 Thread Rasika Hettige
*Introduction*
Magento is an open source e-commerce web application. It is a content
management system (CMS) based on PHP and MySQL for web hosting service,
which was built using parts of the Zend Framework.It provides full support
for object-oriented programming and Model-View-Controller (MVC)
architecture. 

*API (REST)*
http://www.magentocommerce.com/api/rest/introduction.html

*Magento Connector Summary*
• Connector Name:  magento-connector-1.0.0 
• Version: 1.0.0 
• Technology:  REST 

*Authentication*
Magento REST API uses 3-legged OAuth 1.0a protocol to authenticate the
application to access the Magento service.

*Methods Selected:*

*Products*
*createProduct* - Create a new Product.
*updateProduct* - Update an existing Product.
*deleteProduct* - Delete an existing Product.
*listProducts* - List products existing within the instance.
*getProduct* - Get details for a single product.

*Product Categories*
*getProductCategory *- Get categories a specific product falls under.
*addCategoryToProduct *- Add a category to a specific product.
*deleteCategoryFromProduct *- Remove a product from a category.

*Product Images*
*getProductImages *- Retrieves details for images associated with a product. 
   - Note: This method covers the
functionality of *get*, *[store_image]get*, *[single_image]get* and
*[store_image/single_image]get*
*addProductImage* - Adds a single image to a product.
  - Note: This method also covers the
functionality of *add* and *
 [store_image]add*
*updateProductImage *- Updates details (and content) of a single image
assigned to a product.
   - Note: This method also covers 
the
functionality of *
  [single_image]update* and 
 
*store_image/single_image]update*
deleteProductImage - Deletes a single image assigned to a product.
 Note: This method also covers the functionality of
[single_image]delete and [store_image/single_image]delete

*Orders*
*listOrders *- Gets a list of orders.
*getOrder *- Gets details of a single order by ID.

*Order Addresses*
*getOrderAddresses* - Retrieve information about billing and shipping
addresses of the required 
  order.
- Note: This method also covers the
functionality of *get* ,
  *[shipping]get* and
*[billing]get*

*Order Comments*
*getOrderComments* - Get comments assigned to an order.

*Order Items*
*getOrderItems* - Get items for an order.

*Inventory*
*listStockItems *- Retrieve a list of existing stock items.
*getStockItem *- Get details of a single stock item by ID.
*updateStockItem *- Update details for a single stock item.

*Customer Addresses*
*listCustomerAddresses *- Lists addresses defined for a customer.
*addCustomerAddress *- Adds a new address for a customer.
*updateCustomerAddress *- Updates a single customer address by address ID.
*deleteCustomerAddress *- Deletes a single customer address.

*Customers*
*getCustomer* - Get details of a single customer
*createCustomer * - Creates a new Customer
*updateCustomer * - Updates details of a single customer
*deleteCustomer  * - Deletes a single customer.

*Methods not selected:*

*Product Websites*
*get ,add [Website Assignment with Product Data Copying]add ,[Multi-Website
Assignment]add ,[Multi-Website Assignment with Product Data Copying]post*,
and *delete* methods disregarded from the first version as they are
supporting one time entry functionalities.

*[single]get *- Functionality of this method is covered under listOrders
method.
*[single]get* - Functionality of this method is covered under
listCustomerAddresses method.
*listCustomers* - This method is ignored from the first version as it has a
less business value than the getCustomer method .


Thanks & Regards
Rasika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-Magento-tp97825.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture