Create order api (POST)

I’m not able to create order by following request
POST https://api.veeqo.com//orders

EVEN i have added all required fields customer_id, deliver_to_id, delivery_method_id etc. But i still getting general error { “error_messages”: “Not found” }

I’ve also tried it out by adding customer_attributes and deliver_to_attributes previously. But getting same error.

Request body: {
“order”: {
“channel_id”: 718397,
“customer_id”: 376926280,
“deliver_to_id”: 1178275458,
“delivery_method_id”: 171784,
“line_items_attributes”: [
{
“price_per_unit”: “7”,
“taxless_discount_per_unit”: “0.00”,
“quantity”: 1,
“tax_rate”: 0,
“sellable_id”: 220815992,
“additional_options”: “This thing is a thing”
}
]
}
}

Can anybody tell me what i’m missing?

Hey @Kashif, it’s Alex from Veeqo.

The error you’re experiencing usually means that one of the id’s you are sending through is invalid/deleted.

I would suggest reading through the API docs to learn how to fetch each ID. The orders endpoint docs in particular should point you in the right direction for each parameter.

If you are still having trouble, contact Veeqo Support via the support messenger in the Veeqo app or contacting helpme@support.veeqo.com

Hope this helps,
Alex