Step 1:
Installed Ecommerce API - /extensions/ecomm/v1/installs
Step 2:
Check Ecommerce Status - /extensions/ecomm/v1/installs/status
Step 3:
I had enabled the property mapping - /extensions/ecomm/v1/settings
Step 4:
Finally by using Sync-Message I was able to populate the data to contact and it got updated successfully. A day after this setup I tried to send the data and it didn't got updated. Actually i got the response as 204, but the data are not populated in hubspot contact section.
Currently:
I created a new portal and application and tried the same setup which I had mentioned above. This time I tried using google oAuth_(previously I used postman client)_ playground which is mentioned in this article (https://developers.hubspot.com/docs/faq/testing-hubspot-apis).
Here the problem is:
In my app setting i had selected the following SCOPE:
Basic oAuth Functionality
Access to integration-sync features
e-commerce
Now using google oAuth and using the scope "contacts intergration-sync e-commerce" I tried connecting to hubspot and ended with this error "Request for Integration Permissions Uh oh! You do not have the correct role to grant these permissions. Please contact your administrator."
If I uncheck the ecommerce in app setting and used only "contacts integration-sync" in oAuth scope I was able to connect successfully. And now on attempting to install the ecommerce api i get this error " "message": "This oauth-token (REDACTED) does not have proper permissions! (requires all of [portal-developers-access])", "
We have a paid version of hubspot account. I want to test this setup in the developer account and try to implement the same in our Live Enterprise account.
Generally, a "Method Not Allowed" error occurs when your request is using a method that the endpoint doesn't support. The "Upsert ecommerce settings" endpoint only supports a PUT request; can you check out that doc and confirm that you're making requests to the correct endpoint & using the correct method?
Also, it's generally best practice to create a new topic for new issues, rather than comment under an old one (in particular, threads older than about a year). The HubSpot product is always evolving, so it's usually unlikely that an issue from a very old thread and a more recent issue are related.
Are you trying this installation in a test portal, or in your developer portal? A developer portal doesn't have access to the tools that test/production Marketing/CRM portals do, so you won't be able use any ecommerce APIs with your dev portal. Can you give me the Hub ID of the portal you're trying to install your ecommerce app to? Also side note, you'll need to use your developer hapikey to make requests to change your app settings.