What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi guys! I'm currently working on API integration, which uses the Agent Assist Spryker feature (
Hi guys! I'm currently working on API integration, which uses the Agent Assist Spryker feature (https://docs.spryker.com/docs/scos/user/features/202108.0/agent-assist-feature-overview.html). Now, I'm not able to add items to the shopping cart through the API in my project. Then I took a look at the feature in yves in my project with the same result: not able to add items to the cart with the error "The action is forbidden." I thought it might be a bug in our Spryker project implementation, but after looking at the official Spryker B2B demo (https://www.de.b2b.demo-spryker.com/), I have the same results. Maybe someone has experience with this feature or can confirm if this is a bug in Spryker core? Any help will be much appreciated. Thanks in advance, guys π.
Comments
-
It can be lack of permissions - https://docs.spryker.com/docs/scos/user/features/202108.0/company-account-feature-overview/company-user-roles-and-permissions-overview.html#pe[β¦]ons
Checked permissions in official Spryker B2B demo (<mailto:sonia@spryker.com|sonia@spryker.com>) - everything works
0 -
Ok, I've tried with <mailto:admin@spryker.com|admin@spryker.com> as agent user. So I'll now try with <mailto:sonia@spryker.com|sonia@spryker.com>, maybe something change. I'll let you know about the result.
0 -
The user must be marked as "Agent" in backoffice
0 -
@U0140NZMDTN I'm not sure if we are talking about the same. So as far as I understood for the Agent Feature:
1. You need and backoffice user with Agent -> Enabled.
2. You need to login in yves using the URL /agent/login
After look into the Spryker b2b backoffice, there is no sonia under Users.0 -
Yes my user is marked as Agent.
0 -
For agent - use <mailto:admin@spryker.com|admin@spryker.com>
for yves user - use <mailto:sonia@spryker.com|sonia@spryker.com>0 -
Please give it a try at https://www.de.b2b.demo-spryker.com/agent/login
User: admin
Pass: change1230 -
@U0140NZMDTN I have tested as agent (<mailto:admin@spryker.de|admin@spryker.de>):
0 -
As agent you canβt add products to cart, you need impersonate as Yves user
0 -
Ok that's maybe my error. I've tried with in yves selecting <mailto:spencor.hopkin@spryker.com|spencor.hopkin@spryker.com>
0 -
You can use <mailto:spencor.hopkin@spryker.com|spencor.hopkin@spryker.com> but first add relevant permissions
0 -
Thanks @U0140NZMDTN that seems to be the issue. I though the only requirement is to be an enabled agent.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random