Hey Daniel, thanks for the support. Please see below my answers:
[quote=“daniel, post:6, topic:1502, full:true”]
Hey @Mateus_Coelho,
Thanks for sharing that video! Mind answering these questions for me?
Can you let me know where you found the endpoint to the PUT
request? - In the bubble app in Settings.
Their documentation references this endpoint:
https://appname.bubbleapps.io/api/1.1/obj/typename/unique_id
Does your Bubble import contain some sort of Id column? - Yes, it does indeed.
The 405 error is likely attributed to the fact that you are not passing the Id of the item you’re trying to overwrite into the URL. From what I can tell, the PUT
method is not allowed unless that Id is referenced in the URL.
Does your Bubble import contain column headers like Notes
, Availability
, Description
, Price
, etc? - Yes
If so, is there a cell under your Notes
column that contains the value Saving notes on product page
?
Instead of writing Notes
multiple times in your JSON body and adding all of those values, you just need to add it once and reference the column as {Notes}
. In Parabola it might look like: - Love it. Will try to replicate it now and see if I can get it to work following your instructions.
{
"Notes": {Notes},
"Availability": {Availability},
"Description": {Description},
"Price": {Price},
"Product_Name": {Product_Name}
...
}
What it actually sends to Bubble:
[{
"Notes": "Saving notes on product page",
"Availability": true,
"Description": "Broccoli, spinach, avocado, apple, lemon (16oz, 242kcal). 242 calories.",
"Price": 7,
"Product_Name": "Joe's Green Mile"
...
}
{
"Notes": "Saving more notes",
"Availability": true,
"Description": "Strawberry, raspberry, banana, coconut, lemon (16oz, 242kcal). 242 calories.",
"Price": 8,
"Product_Name": "Berry smoothie"
...
}]
Send an email to help@parabola.io and we can schedule some time to troubleshoot live.
[/quote] - Sounds great, let me see if I can get this to work and if not I’ll send and email to schedule a session. Many thanks