403: Forbidden Error When Attempting To Initiate A Checkout Via API

Hello,

I am working on implementing a system by which, within our own web portal, the user selects a product and its corresponding “variant_id” via dropdown. This is submitted, along with their collected shipping information, to the endpoint responsible for initiating a checkout and returning an external link to complete payment processing within Shopify (if I understand this step correctly).

My issue is that when I submit the data, I receive the HTTP response code 403: Forbidden and cannot proceed any further. I have tried modifying our permissions for the API key associated with this portal and granting all listed permissions in the Shopify dashboard’s settings page to see if we were missing one that needed to be checked, but this did not resolve the issue.

One possible complicated factor is that we are using the npm module “shopify-api-node” when working with the API rather than the method outlined in the API docs. Hopefully this is not the root of the issue as, if so, it would necessitate rewriting our integration with Shopify in a few places. This module has worked perfectly find in all other cases so far, but I am unsure how to resolve this issue I’m having now. Please let me know any additional information I need to provide (e.g. an example of the structure of the data we are submitting or the response message) to expedite resolving this issue and I’d be more than happy to oblige.

Thanks!