Api order creation with the context for a custom relationship #14917
LucasLaurens
started this conversation in
General
Replies: 1 comment
-
History: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am working with the api and I have created an endpoint that needs to create a command but it is not directly linked to it. To do this, in my handler I use the getCart of the cartContext. I wanted to know if this was a good practice or if it was better to use the factory and pass the right properties to the endpoint?
Beta Was this translation helpful? Give feedback.
All reactions