Admin-created Orders
See original GitHub issueIs your feature request related to a problem? Please describe. I would like to be able to create new Orders from the Admin UI.
Use cases:
- Customer phones up and wants to place an order
- Customer comes in person to place an order
- Put together a special order for a customer manually
- Testing promotions
Describe the solution you’d like
In the Admin API there should be a createOrder
mutation, followed by the familiar addItemToOrder
etc mutations, but with the difference that they would take an order ID rather than using the implicit session-bound Order like in the Shop API.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:12
- Comments:7 (3 by maintainers)
Top Results From Across the Web
rules condition for admin created orders [#2129243] | Drupal.org
The stock decrement is happening twice because when the admin order is edited, stock gets decremented, and when a payment is entered, it...
Read more >2.0.1 rc1 broke admin created order - WordPress.org
Hi, Admin created order (custom payment link) is broken with latest 2.0.1 rc1. Once I click on PayPal button I get the following...
Read more >Directory API: Groups | Admin console - Google Developers
Along with the status code, the response returns the groups in the alphabetical order of the group email and is case insensitive: ......
Read more >Allowing customers to pay an admin created order?
If we need to create an order then ask the user for payment, we will place the order using the Purchase Order method...
Read more >What's the status of your port orders? - Microsoft Teams
Status Can you view the order? Can you edit the order? Can you cancel the or...
Processing Yes No Yes
Contacting carrier Yes No Yes
Transfer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @michaelbromley. This feature is very helpful for us. In our case, we still have the requirement for an arbitrary price.
Again, thanks for all.
@cdiban-loads An implementation of this is coming in the v1.8 imminently. I’ve not included the ability to set an arbitrary price on a variant, because this would add quite a bit more complexity to the implementation and I’d rather introduce these changes in smaller batches.
But the current implementation will use the exact same internal mechanisms as when an order is placed via the Shop API, so any custom calculation strategy should work exactly the same.
Let’s see how this next version fits your needs and let me know if there is still the requirement for arbitrary pricing, as this would then be a separate issue.