APIs & Integrations

kajal
Member | Elite Partner
Member | Elite Partner

Eccomerce Bridge Import

Hi,

I am trying to execute the HubSpot bridge import Api.

 


body_json = {
"portalId": 1234567,
"storeId": "ecommercebridge-test-store",
"importStartedAt": 1552678940201,
"objectType": "DEAL",
"messages": [
{
"externalObjectId": "1234abc",
"properties": {
"amount": 24
}
}
]
}
response = HTTParty.post("https://api.hubapi.com/extensions/ecomm/v2/imports/page?hapikey=821******116c1",:body=> body_json.to_json,:headers => { 'Content-Type' => 'application/json' })

 

 

While running this I get an error "Unable to deduce app-id from this request."

What am I doing wrong?

 

Thanks

0 Upvotes
3 Replies 3
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Eccomerce Bridge Import

Hi @kajal,

 

Can you please confirm that ecommerce settings are enabled using this endpoint ?

If this is enabled using the correct hapikey and appid, can you please confirm your app settings for supporting imports with Ecomm bridge has correct import trigger uri.

 

Thanks,

Himanshu

Digital Marketing & Inbound Expert In Growth Hacking Technology
0 Upvotes
kajal
Member | Elite Partner
Member | Elite Partner

Eccomerce Bridge Import

Hi Himanshu

 

The e-commerce setting was enabled however, I didn't use the app id I only used the hapi key. While using app id it was giving issues of permissions.

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Eccomerce Bridge Import

Hi @kajal 

App ID would be referencing the app that is being used from your developer account. 

This post asked by @ahsan is a pretty good reference

Perhaps @rowan-reid  has some thoughts on this as well!

0 Upvotes