How to Implement UPS API and Create Shipping Label
To implement UPS api on your website credential required like access number, username and password. Get access number from UPS account. Steps to Implement UPS API: Step 1: Let me explain with an HTML Form example, which you can use your website for post shipping and billing information.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<form method="post" action="postshipping.php"> <input type="hidden" name="create_xml" value="true"> <h2>Bill To:</h2> <input type="text" name="sender_name" value="SENDER NAME" /> <br/> <input type="text" name="attention_name" value="ATTENTION NAME" /> <br/> <input type="text" name="Address_Line_1" value="ADDRESS LINE 1" /> <br/> <input type="text" name="city_name" value="CITY NAME" /> <br/> <input type="text" name="postal_code" value="POSTAL CODE" /> <br/> <input type="text" name="country_code" value="GB" /> <br/> <input type="text" name="state_code" value="STATE CODE" /> </td> <td> <h2>Ship To:</h2> <input type="text" name="recipient_name" value="RECIPIENT NAME" /> <br/> <input type="text" name="Recipient_Company_Name" value="RECIPEINT COMPANY NAME" /> <br/> <input type="text" name="Recipient_Address_Line_1" value="RECIPIENT ADDRESS LINE 1" /> <br/> <input type="text" name="Recipient_city_name" value="RECIPIENT CITY NAME" /> <br/> <input type="text" name="Recipient_postal_code" value="RECIPIENT POSTAL CODE" /> <br/> <input type="text" name="Recipient_country_code" value="GB" /> <br/> <input type="text" name="Recipient_state_code" value="RECIPIENT STATE CODE" /> <br/> <input type="text" name="Recipient_telephone" value="RECIPIENT TELEPHONE" /> <input type="submit" value="Genrate Label" /> </form> |
Step 2: Now after submit the …
How to Implement UPS API and Create Shipping Label Read More »