CONSUMPTION_REQUEST response from Apple

Hello, after sending a PUT request to

https://api.storekit.itunes.apple.com/inApps/v1/transactions/consumption/<my_original_transaction_id>

I get a 401 - Unauthenticated Request ID: ....

Any ideas why I'm getting a 401?

Reading the docs there doesn't mention any sort of authentication parameters:

https://developer.apple.com/documentation/appstoreserverapi/consumptionrequest

Any ideas would be helpful, And apologies for the selected tags, I was unsure which tag to put this under. Thanks, Kurt

You can see here the documentation for the app store server api: https://developer.apple.com/documentation/appstoreserverapi

I think the authentication system is the same for the consumptionrequest.

CONSUMPTION_REQUEST response from Apple
 
 
Q