When I call the admin/api/2024-01/orders.json to create an order, it always returns a response with 200 status and an empty order list.
Request:
{
“order”: {
“email”: “vendorsupport@xxx.com”,
“inventory_behaviour”: “decrement_obeying_policy”,
“line_items”: [{
“variant_id”: “46924554109270”,
“price”: 473.33,
“quantity”: 1
}],
“test”: false,
“shipping_address”: {
“first_name”: “xxxxxx”,
“last_name”: “xxxxx”,
“address1”: “xxxxx”,
“city”: “xxxxx”,
“country”: “xxxxxx”,
“province”: " ",
“zip”: “3000”,
“phone”: " "
},
“billing_address”: {
“first_name”: “xxxxxx”,
“last_name”: “xxxxxx”,
“address1”: “xxxxxxxx”,
“city”: “xxxxxxxx”,
“country”: “xxxxxxxxx”,
“province”: " ",
“zip”: “3000”,
“phone”: " "
},
“customer”: {
“first_name”: “xxxxxxxxx”,
“last_name”: “xxxxxxxx”,
“email”: “vendorsupport@xxx.com”
},
“name”: “6727”
}
}
Response:
{
“orders”:
}
Anyone know what’s wrong with this?
Thanks for your help.
