Describe the bug
The Place Order API is not functioning as expected. When the API is called, the order is either not created successfully, returns an incorrect response, or fails without proper error handling.
To Reproduce
Steps to reproduce the behavior:
- Add products to the cart (customer or guest).
- Set required checkout details (address, shipping method, payment method).
- Hit the Place Order API
- Observe the API response.
Response:
{
"errors": [
{
"message": "Warning: Something went wrong.",
"locations": [
{
"line": 2,
"column": 5
}
],
"path": [
"placeOrder"
],
Expected behavior
Order should be placed successfully.
- API should return:
-> Order ID
-> Order number
-> Success message
- Cart should be cleared after order placement.
Actual Result:
- Order is not placed successfully or
- API returns incorrect/null response or
- API throws an error without a meaningful message.
Screenshots
If applicable, add screenshots to help explain your problem.

Describe the bug
The Place Order API is not functioning as expected. When the API is called, the order is either not created successfully, returns an incorrect response, or fails without proper error handling.
To Reproduce
Steps to reproduce the behavior:
Response:
{
"errors": [
{
"message": "Warning: Something went wrong.",
"locations": [
{
"line": 2,
"column": 5
}
],
"path": [
"placeOrder"
],
Expected behavior
Order should be placed successfully.
-> Order ID
-> Order number
-> Success message
Actual Result:
Screenshots
If applicable, add screenshots to help explain your problem.