I'm getting this error as I list Line Items. This was authenticated via an hapikey.
{"status":"error","message":"Must have scope DEAL_LINE_ITEM_READ","correlationId":"d2165db2-5793-4c52-a4de-7d1df2c151a8","requestId":"24068fba164296d62eb79bf7b8bdeabb"}
Looks like it's an issue on your side that relates to these tickets, yes?
Hello,
I am trying out the new Products API via the demo account. I am able to retrieve products, but not create them. This is my request :
POST https://api.hubapi.com/crm-objects/v1/objects/products?hapikey=demo
[
{
"name": "name",
"value": "test"
}
]
And this is the error response I get :
"Must have scope INBOUNDDB_PRODUCT_LIBRARY_WRITE"
It is possible to implement an Ecommerce Bridge API without Sales Pro; the Ecommerce Bridge API technically only requires the integration-sync scope. The CRUD methods of the Products API can only be accessed by a portal with Sales Pro, but an integration with the integration-sync scope can create products by sending sync messages.
You should be all set; it looks like it was related to the same scoping issue mentioned in that other thread. The test portal in question has access to Sales Pro (and by extension, line items).