# Shopify

Shopify

# Shopify Setup

<span class="ts0">Login to your online shopify account</span>

<span class="ts0">shopify.com</span>

<span class="ts0">Go to settings and Notifications</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2478).png)

<span class="ts0"> </span><span class="ts0">Scroll to the bottom of the page to find (Create Webhooks)</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2479).png)

<span class="ts0">Select Order Creation</span>

<span class="ts0">Enter this into the URL</span>

<span class="ts0">https://SERVER\_PATH/csp/NAMESPACE/api/shopify/orders/create</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2480).png)

<span class="ts0">Once you have created the webhook, you will be given a verification code which needs to be setup in Webaccounting.</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2482).png)

<span class="ts0">Go to the System &gt; Configuration Module &gt; Security &gt; API Setup</span>

<span class="ts0">Select Shopify Webhook for incoming orders from Shopify</span>

<span class="ts0">Paste the Webshop verification code into the password and save</span>

<span class="ts0">Ensure the Active tick box is ticked</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2481).png)

<span class="ts0">Now to setup the link from Webaccounting to Shopify</span>

<span class="ts0">We have to get the username and password from Shopify</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2484).png)

<span class="ts0"> </span><span class="ts0">Click on Create new private app</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2485).png)

<span class="ts0">Enter the App name</span>

<span class="ts0">Enter the developer email address - <peter@webaccounting.co.za></span>

<span class="ts0">Select Products and change to Read and write</span>

<span class="ts0">Open up inactive and find customers and change to read and write</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2486).png)

<span class="ts0">After you click save at the bottom of the screen, you will get a confirmation screen</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2487).png)

<span class="ts0">After you have created the app, there will an API key and Password</span>

<span class="ts0">You will need these two items for the Webaccounting setup</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2489).png)

<span class="ts0">Setup the outgoing Webaccounting to Shopify integration</span>

<span class="ts0">Select Shopify Admin API in dropdown</span>

<span class="ts0">Put in your store URL</span>

<span class="ts0">Put in your username and password from your Admin API private app that was setup</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2483).png)

<span class="ts0">Go to the functions tab to enable the Debtors and inventory</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2490).png)

<span class="ts0"> </span>

<span class="ts0"> </span>

<span class="ts0"> </span>

<span class="ts0"></span>

# Customer Setup

<span class="ts2">Customer setup to Shopfiy</span>

<span class="ts0">When you setup your customer and you tick the Sync to Webshop</span>

<span class="ts0">Then Webaccounting will create an account on Shopify with the default user.</span>

<span class="ts0">Shopify will then send out an email to create an account to the contact and then the client will verify their account</span>

<span class="ts0">Then Webaccounting will create the customer on Shopify with the following fields</span>

<table border="1" id="bkmrk-1-customer-code-2-cu" style="border-collapse: collapse; width: 40.2469%;"><colgroup><col style="width: 13.0662%;"></col><col style="width: 86.8902%;"></col></colgroup><tbody><tr><td class="align-center">**1**</td><td><span class="ts0">Customer Code</span></td></tr><tr><td class="align-center">**2**</td><td><span class="ts0">Customer name</span></td></tr><tr><td class="align-center">**3**</td><td><span class="ts0">Customer Address</span></td></tr><tr><td class="align-center">**4**</td><td><span class="ts0">Customer default contact person</span></td></tr><tr><td class="align-center">**5**</td><td><span class="ts0">Customer contact email address</span></td></tr><tr><td class="align-center">**6**</td><td><span class="ts0">Customer contact mobile number</span></td></tr></tbody></table>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2491).png)

# Inventory Setup

<span class="ts2">Inventory setup to Shopfiy</span>

<span class="ts0">When you setup your inventory item and you tick the Sync to Webshop</span>

<span class="ts0">Then Webaccounting will create the item on Shopify with the following fields</span>

<table border="1" id="bkmrk-1-inventory-code-2-d" style="border-collapse: collapse; width: 35.5556%; height: 236.8px;"><colgroup><col style="width: 13.2418%;"></col><col style="width: 86.6885%;"></col></colgroup><tbody><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**1**</td><td style="height: 29.6px;"><span class="ts0">Inventory Code</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**2**</td><td style="height: 29.6px;"><span class="ts0">Description</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**3**</td><td style="height: 29.6px;"><span class="ts0">Long Description</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**4**</td><td style="height: 29.6px;"><span class="ts0">Group Code</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**5**</td><td style="height: 29.6px;"><span class="ts0">Default price structure</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**6**</td><td style="height: 29.6px;"><span class="ts0">Default cost price</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**7**</td><td style="height: 29.6px;"><span class="ts0">Default sell price</span></td></tr><tr style="height: 29.6px;"><td class="align-center" style="height: 29.6px;">**8**</td><td style="height: 29.6px;"><span class="ts0">Upload the primary image</span></td></tr></tbody></table>

<span class="ts0"> ![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2492).png)</span>

# Email Confirmation

<span class="ts2">Customer setup to Shopfiy</span>

<span class="ts0">After the customer has been created on Shopify, it will send an email to the customer to activate their account.</span>

<span class="ts0"> </span>![](https://hugeerp0.co.za/csp/webhelp/topics/images/image(2493).png)