Once the code is installed the users will be able to submit their files via the csvbox importer. The raw files uploaded by the users will be available on your dashboard's 'Import' page. The data will also be pushed to your app as per the destination type configuration of your sheet.
Sample JSON response for destination API/Webhook:
[ {"import_id":79418895,"sheet_id":55,"sheet_name":"Products","row_number":1,"total_rows":1009,"env_name":"default","original_filename":"products01_24.csv","row_data": {"Name":"TP-Link TL-WN822N Wireless N300 High Gain USB Adapter","SKU":"AS-100221","Price":"33.00","Quantity":"3", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/31jJOj1DS5L_070b4893-b7af-482f-8a15-d40f5e06760d.jpg?v=1521803806"
},"custom_fields": {"user_id":"1002" } }, {"import_id":79418895,"sheet_id":55,"sheet_name":"Products","row_number":2,"total_rows":1009,"env_name":"default","original_filename":"products01_24.csv","row_data":{"Name":"EPower Technology EP-600PM Power Supply 600W ATX12V 2.3 Single 120mm Cooling Fan Bare","SKU":"AS-103824","Price":"95.35","Quantity":"8", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/71pRC5VjF-L_8f840eb9-6a47-407f-999c-490f7814159d.jpg?v=1521803806"
},"custom_fields": {"user_id":"1002" } },]
All import data and RAW files will be retained for one month. You also have the option to bypass storing the files in our data store.
Import Complete Webhook
Optionally, you can subscribe to the import complete event webhook via the sheet settings page. This webhook will fire when the CSVbox completes the import process for any user. Here is some example JSON that could be sent to your webhook endpoint:
You also have the option to receive the entire CSV data in JSON format inside the dataobject of the callback function.
To receive the CSV data in the callback function simply activate this option on the sheet 'Destination' page.
You will then receive the JSON data in the rows property of the data object. Check the sample below: