We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Nov 28, 2018 7:32 PM
When adding a product via the e-comm bridge api I receive a 204 code indicating success. However several hours later the product is not showing via the UI. We have tested both production and testing accounts with the same results, I'm pretty sure this was working yesterday.
Sample Code:
headers = { "Content-Type": "application/json", }
body = json.dumps(
[
{
"integratorObjectId":"CUDDLLILACXW420",
"action":"UPSERT",
"changeOccurredTimestamp":1543450561000,
"propertyNameToValues":{
"hd_sku_overall_style":"CUDDLLILAC",
"hd_sku_size_fit":"CUDDLLILACXW420",
"hd_size":"420",
"hd_width":"XW",
"hd_colour_primary":"PI/PU",
"hd_colour_secondary":"LILAC",
"name":"CUDDLES LILAC SLIPPER",
"hd_heel_height":"ZH1",
"hd_orthotic_friendly":"N",
"hd_item_type":"SHB",
"hd_major_grp":"SLIP",
"hd_minor_grp":"SLIPPER",
"hd_product_type":"FOOT",
"hd_unit_of_measure":"PR",
"hd_brand":"ZO"
}
}
]
)
res = requests.put("https://api.hubapi.com/extensions/ecomm/v1/sync-messages/PRODUCT?hapikey={}".format(hapikey), data=data, headers=headers)
I've tried a status check via sync-status
headers = { "Content-Type": "application/json", }
res = requests.get("https://api.hubapi.com/extensions/ecomm/v1/sync-status/PRODUCT/{}?hapikey={}".format("CUDDLLILACXW42...", hapikey), headers=headers)
and received the following response:
{"status":"error","message":"internal error","correlationId":"7f4a2a3f-ee00-4aca-b8c4-77a3b22d6685","requestId":"e3a72d3e8de54712eeda456f4ad523fe"}
Nov 30, 2018 1:26 PM
Welcome, @Dave_A!
To clarity, are you experiencing this issue with only the product above, or for multiple objects?
Would you share both your production and test Hub IDs? I'd like to test the sync message myself in the test account.
Isaac TakushiAssociate Certification Manager |