Hello, I need a quick turn around. 2 days.
We have a word press website that we want to integrate the API with the woocommerce shopping cart.
The app just calls those URLs and it doesn't need to get any sort of reply from the web site. That is, it just acts like the user has opened Safari and keyed in the URL address to navigate there.
The first URL is called when the user wants to order a colour. The idea is that it would open the web site on a page for the appropriate colour, which the user could then manually add to a shopping cart and order. It requires the website to have the ability to generate a page for each of the SKUs with the SKU passed as a parameter.
The second URL is called when the user wants to contact a clinic. The web site should ask the user for their contact details and any other comments they want to add, which will then be sent to the company via an email. The URL parameters should be added as hidden form variables that are included in the email so that we know what the colour was that the user scanned, and what the app thought the closest colour was. This info will allow the company to formulate a close match if necessary, or just to pass the information on to a suitable clinic if applicable.
For review below are the URLs.
You should be able to call them directly from a desktop browser which might be easier than using the app for now.
This is the URL for when the customer wants to order a product
This is an example of the URL that will be called when the customer wants to find a clinic. BestMatch is the closest SKU, and the SkinL, SkinA and SkinB are the parameters for the CIELAB color that was scanned. The website needs to include this information when it sends the email to Microskin with the customer’s details.