All Questions
7 questions
0
votes
1
answer
2k
views
Magento 2 set order extension attributes via API
Is it possible to set an order's extension attribute value when creating the order via the API or is there an appropriate API endpoint to update an existing order with this information?
For example ...
0
votes
2
answers
2k
views
Magento 2 Get all Orders sort by latest orders
I am using the below Rest api to fetch all orders in desc i.e the latest on top but its not working
index.php/rest/V1/orders?searchCriteria=all&searchCriteria[sortOrders][0][field]=order_id&...
2
votes
1
answer
1k
views
Magento 2 how to stop decreasing stock qty while placing an order in magento 2 via REST API
how to stop decreasing stock qty while placing an order in Magento 2 via REST API
Which plugin or which observer we have to use to stop decreasing stock qty?
I am using event "...
0
votes
0
answers
448
views
Magento 2 override pricing / apply custom price on api order
When building an order in the Magento 2.3 admin you can apply custom pricing to line items, is there a way to do this when building an order via the standard Magento 2 API's? If not via the standard ...
0
votes
1
answer
2k
views
How to override order api in magento 2
I want to get order detail with customized some information using order API. I want to override API:
https://example.com/index.phprest/V1/orders
How can I override in Magento 2.3
0
votes
0
answers
42
views
Customize request and response of order REST API
Guest order placement request -
URL - V1/guest-carts/:cartId/order
Body - {
"paymentMethod":
{
"method":"testpayment_gateway",
"customField":"CustomFieldValue" // **This is not product ...
1
vote
1
answer
518
views
How to get order ID after placing order with rest API
How can we get the increment_id when you finish a order as a login customer?
I try to get the increment_id to show in a succes page but the only ID I'm receving is the order_id after I've made the /...