# Created Order as already allocated

**URL:** <https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300>\
**Category:** API Queries (How To)\
**Created:** [December 7, 2020, 1:15pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300 "2020-12-07T13:15:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben](https://avatars.discourse-cdn.com/v4/letter/b/018950/32.png) [@ben](https://developer-forum.veeqo.com/u/ben)\
**Post date:** [December 7, 2020, 1:15pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/1 "2020-12-07T13:15:17Z")

</div>

Is there a way to set orders as already allocated/complete when creating them

We have orders coming in from a shop till system that need to be marked as complete so the warehouse do not try and pick them as they are already fulfilled, from the documentation it looks like I will have to create allocations then allocate them.

thanks

---

<div class="post-metadata">

**Author:** ![Ade](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/ade/32/75_2.png) [@Ade](https://developer-forum.veeqo.com/u/Ade)\
**Post date:** [December 7, 2020, 2:31pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/2 "2020-12-07T14:31:57Z")

</div>

Hi Ben,

After creating the order, you could then allocate and create a shipment, this would complete the full cycle  
Order creation: [https://developer.veeqo.com/docs#/reference/orders/order-collection/create-a-new-order](https://developer.veeqo.com/docs#/reference/orders/order-collection/create-a-new-order)  
Allocation creation:[https://developer.veeqo.com/docs#/reference/allocations/allocation-collection/create-a-new-allocation](https://developer.veeqo.com/docs#/reference/allocations/allocation-collection/create-a-new-allocation)  
Shipment creation: [https://developer.veeqo.com/docs#/reference/shipments/shipment-collection/create-a-shipment](https://developer.veeqo.com/docs#/reference/shipments/shipment-collection/create-a-shipment)

Hope this helps

---

<div class="post-metadata">

**Author:** ![Ade](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/ade/32/75_2.png) [@Ade](https://developer-forum.veeqo.com/u/Ade)\
**Post date:** [December 14, 2020, 7:56am UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/4 "2020-12-14T07:56:37Z")

</div>

> [@ben](#):
>
> d with a picked status of picked

Hey Ben,

After the allocation is created, you can update the allocation line items with a `picked_quantity`

> **[API Docs - Veeqo Developers](https://developer.veeqo.com/docs#/reference/allocations/allocation/update-allocation-detail)**
>
> API Docs - Veeqo Developers

---

<div class="post-metadata">

**Author:** ![ben](https://avatars.discourse-cdn.com/v4/letter/b/018950/32.png) [@ben](https://developer-forum.veeqo.com/u/ben)\
**Post date:** [December 15, 2020, 9:01pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/5 "2020-12-15T21:01:16Z")

</div>

> [@Ade](#):
>
> picked\_quantity

Thanks for that

Don’t suppose you know why this is documented that it can be updated, and on another note when I post an allocation the response I am getting back doesn’t match what the docs say. I seem to be just getting the full order returned when creating an allocation.

---

<div class="post-metadata">

**Author:** ![Ade](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/ade/32/75_2.png) [@Ade](https://developer-forum.veeqo.com/u/Ade)\
**Post date:** [December 21, 2020, 4:36pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/7 "2020-12-21T16:36:04Z")

</div>

Hey Ben

Just to confirm you are changing the URL from

> [https://api.veeqo.com/orders/{order\_is}/allocations/{allocation\_id}](https://api.veeqo.com/orders/%7Border_is%7D/allocations/%7Ballocation_id%7D)

to something like:

> [https://api.veeqo.com/orders/123456/allocations/789456123](https://api.veeqo.com/orders/123456/allocations/789456123)

---

<div class="post-metadata">

**Author:** ![ben](https://avatars.discourse-cdn.com/v4/letter/b/018950/32.png) [@ben](https://developer-forum.veeqo.com/u/ben)\
**Post date:** [December 21, 2020, 4:51pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/9 "2020-12-21T16:51:49Z")

</div>

Hi Ade, Thanks for the quick response,

the url I am posting to is

`> https://api.veeqo.com/orders/71582002/allocations/57848535`

below is the first part of what I get back and in Veeqo it is not marked as picked

Thanks  
Ben

{  
“id”: 57848535,  
“updated\_at”: “2020-12-21T15:40:18.012Z”,  
“created\_at”: “2020-12-21T15:03:31.940Z”,  
“total\_weight”: 18,  
“weight\_unit”: “g”,  
“allocated\_by\_id”: 33213,  
“order\_id”: 71582002,  
“packed\_completely”: true,  
“due\_date”: null,  
“dispatch\_date”: null,  
“line\_items”: [  
{  
“id”: 89216561,  
“quantity”: 1,  
“picked\_quantity”: 0,  
“created\_at”: “2020-12-21T15:03:31.941Z”,  
“updated\_at”: “2020-12-21T15:03:31.941Z”,  
“sellable”: {  
“allocated\_stock\_level\_at\_all\_warehouses”: 12,  
“id”: 45166201,  
“type”: “ProductVariant”,  
“title”: “0mg”,  
“sku\_code”: “JUJU/E/0MG/349”,  
“upc\_code”: “731628359873”,  
“model\_number”: “”,  
“price”: 1.15,

---

<div class="post-metadata">

**Author:** ![ben](https://avatars.discourse-cdn.com/v4/letter/b/018950/32.png) [@ben](https://developer-forum.veeqo.com/u/ben)\
**Post date:** [January 27, 2021, 12:34am UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/10 "2021-01-27T00:34:23Z")

</div>

Hi Ade

I don’t suppose you have any feedback regarding what I am sending

thanks

Ben

---

<div class="post-metadata">

**Author:** ![ben](https://avatars.discourse-cdn.com/v4/letter/b/018950/32.png) [@ben](https://developer-forum.veeqo.com/u/ben)\
**Post date:** [February 25, 2021, 9:51pm UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/11 "2021-02-25T21:51:54Z")

</div>

Just an update on this I have spoken to the devs at Veeqo and currently there is no official way to mark an order as picked as normally this would be done using a device in the warehouse

---

<div class="post-metadata">

**Author:** ![laura](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/laura/32/80_2.png) [@laura](https://developer-forum.veeqo.com/u/laura)\
**Post date:** [February 26, 2021, 9:24am UTC](https://developer-forum.veeqo.com/t/created-order-as-already-allocated/300/12 "2021-02-26T09:24:40Z")

</div>

Thanks for updating Ben, I will make sure this is added to the docs!
