Product scope Ledger API URL and Parameters, missing information

I’m trying to call the Get and Put methods to a product ledger and I keep getting the following error

Product ID is required for product-scoped ledgers

However I’m calling

https://api.particle.io/v1/products/:productIdOrSlug/ledgers/:ledgerName/instances/:scopeValue

From Postman and my server where I set the productIdOrSlug to the product ID (The number in the Product ID column in the Instance, and I tried the full name and id of the product). The Ledger name as detailed and case matched and the scopeValue as Product (and I tried product). And I supplied the Bearer ID as per normal API access.

The API User has full Ledger access at the moment, but thats it.

What other thing do I need to supply?

Thanks.

I think :scopeValue is the numeric product ID, not a fixed string of product or Product.

The reason it's repeated is that the first :productIdOrSlug is the API route to where the ledger is stored (product or organization). The :scopeValue is which ledger instance to retrieve from that ledger.

Thanks. I would be good if the documentation showed real life examples for each api call instead of just the substitution variables for postman. So in this instance what each substitution variable was set too and what the @Data contains. It gets quite difficult sometimes to guess what the variables could mean.

But thanks for the answer.