New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin commercelayer starter finished #2799
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 907a033. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 13 targets
Sent with 💌 from NxCloud. |
'@type': '@builder.io/core:Request', | ||
request: { | ||
url: baseUrl(`skus/${id}`), | ||
headers, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this work? above we're passing authorization header in addition to this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works bc on the frontend the token also exists
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm but depending on the situation, we might make those api calls in our backends ... try:
headers: { ...headers, Authorization: 'Bearer ' + token },
Plugin for CommerceLayer basics integration with SKUs
To use it install
@builder.io/plugin-commercelayer
on your space, connect with your credentials and use the defined types within your editor.