Shopify app: adding a new shipping address via webhook
<p>I'm planning to create a simple app using Django/Python that shows a nice button when installed by the store owner on user's account.</p>

<p>Clicking on that button should trigger a webhook request to our servers that would send back the generated shipping address for the user.</p>

<p>My questions:</p>

<ol>
<li>Is it possible to create such button through shopify API or this something the store owner must manually add?</li>
<li>Is it possible to add a shipping address upon user request?</li>
</ol>

<p>Thanks</p>

<p>Here is the recipe:</p>

<ul>
<li>create a Proxy in your App to accept incoming Ajax call from customer</li>
<li>create a form and button in customer liquid that submits to your Proxy</li>
<li>in the App Proxy, validate the call from Shopify and when valid, look for your form params. </li>
<li>open the customer record with the ID of the customer you sent along with the form data, and add an address to their account</li>
</ul>

<p>Done. Simple. </p>

python django shopify