9. Add a query parameter called Content-Type with the value application/json
10. Add another query parameter called api_key with your Adastacks API Key as the value
11. Add Inputs to hold your data for the new Custom Action (You can name these whatever you like, but below are some suggestions)
Suggested Input Name
Input Type
Suggested Input Test Data
Barcode Data
Text
Should be any valid URL
Barcode Type
Text
Send one of the following barcode types listed in bold:
​
​
For UPC-A: BCL_UPCA
​
​
For UPC-E: S_UPCE
​
​
For EAN-8: S_EAN8
​
​
For EAN-13: S_EAN13
​
​
For Code-128: BCL_CODE128
​
​
For Code-39: BCL_CODE39
​
​
For ISBN-13: S_ISBN
12. Replace the capitalized text in the URL with the Inputs you just made using the Magic Text button in the top right of the URL field.
13. Run the test request. (See the success screenshot below). The action will return a URL that you can then save to your database and use as the image source throughout your app.
Even test actions that fail return a "Test Successful" message so be sure to click Show Full Response to ensure the action succeeded. This is by design so that you can still save the action and return to continue setting it up later if you wish.
14. Save the Custom Action and add it where you need it throughout your app.