Does anyone know how to with API reach the shipping address that is stored from Payment link and that address is related to the line item.
I am trying to show in a container the line item for the user logged in and the shipping address related to that line item. And the user can not even register on the webapp if the payment didn’t go through on HubSpot, so that is connected. Appreciate any help regarding this issue.
Hey @ECokic, thank you for posting in our Community!
Please ensure that you have the necessary permissions and API keys to access HubSpot’s data. Match the line items retrieved from the payment information to the logged-in user in your web application. This step might involve cross-referencing user IDs or other unique identifiers.
To our top experts, @danmoyle and @Anton do you have any recommendations for @ECokic matter?
Thank you,
Pam
Appreciate your reply. Can you please give me an idea of which permissions should I have in the private app?
I have these and I tried to match the line item in the container and retrieve me a shipping address from there but is not working.
crm.objects.companies.read crm.objects.deals.write crm.objects.deals.read crm.objects.custom.write crm.objects.custom.read crm.objects.companies.write crm.objects.contacts.read crm.objects.contacts.write crm.schemas.commercepayments.read crm.objects.commercepayments.read
Thank you for reply again.
Thanks for thinking of me @PamCotton. Unfortunately I don’t have the knowledge to help @ECokic in this case. I’d also tag @Jnix284 in on this one.