Use case

To integrate HP WallArt Platform API in a web site we will follow a use case in which the final user can choose elements to integrate (backgrounds and objects). The following steps are taken by the final user:

  1. Choose in the E-commerce site the images for backgrounds and objects. These objects can be owned by the web service integrating or be an external asset, like hosted in Fotolia, BigStockPhoto, etc.
  2. Create an account in the integrating web site with login and password
  3. Access designer of HP WallArt with all these elements
  4. Customize the project in designer. Two options:
    1. Save the project for further edition.
    2. Purchase the product in the ecommerce site, with its own shopping cart.
  5. Receive the purchased product at home and install it.

The communication between E-commerce site and HP WallArt designer can be done by an API with the OAUTH library for PHP:
https://code.google.com/p/oauth-php/