question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Admin-created Orders

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Reactions:12
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cdiban-loadscommented, Oct 24, 2022

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.

1reaction
michaelbromleycommented, Oct 24, 2022

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found