# Allocation\_id - article line number in WMS

**URL:** <https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391>\
**Category:** API Queries (How To)\
**Created:** [June 4, 2021, 3:36pm UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391 "2021-06-04T15:36:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbensch](https://avatars.discourse-cdn.com/v4/letter/c/59B6F8/32.png) [@cbensch](https://developer-forum.veeqo.com/u/cbensch)\
**Post date:** [June 4, 2021, 3:36pm UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/1 "2021-06-04T15:36:42Z")

</div>

Is there a way to create a partial shipment using the /shipments endpoint.  
Currently, the /shipments POST requires a shipment object, allocation\_id, and order\_id.

If our warehouse cannot fulfill the order in its entirety AND we have been instructed to ship the products we do have available, how do we indicate to Veeqo that this shipment pertains to only certain line items within the order?

is the allocations\_id the line-item reference for the products?

so with an order with 3x articles I will have 3x different allocation\_id’s  
and then 3x shipment messages send with track&trace information (with the same order\_id, same track and trace number but the different allocation\_id’s)  
I’m I more or less correct with that assumption?

thanks  
Carli

---

<div class="post-metadata">

**Author:** ![cbensch](https://avatars.discourse-cdn.com/v4/letter/c/59B6F8/32.png) [@cbensch](https://developer-forum.veeqo.com/u/cbensch)\
**Post date:** [June 7, 2021, 8:59am UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/2 "2021-06-07T08:59:17Z")

</div>

Here is one of the messages we were trying to send back

so the allocations\_id is wrong, it should be retrieved during the order pickup and same id should be send back in the shipment post.

but where do I indicate that this is not the whole order, that for instance only 2 out of the 3 products were shipped?

there is only one allcoations\_id in the json file (and 3x line items)  
I do not see how to indicate the partial shipment send in this shipment message, can you please assist? thank you

{ LF

“shipment”: { LF

“tracking\_number\_attributes”: { LF

“tracking\_number”: “05228782696616” LF

}, LF

“carrier\_id”: 4, LF

“notify\_customer”: false, LF

“update\_remote\_order”: false LF

}, LF

“allocation\_id”: 1, LF

“order\_id”: 86458697 LF

}

---

<div class="post-metadata">

**Author:** ![cbensch](https://avatars.discourse-cdn.com/v4/letter/c/59B6F8/32.png) [@cbensch](https://developer-forum.veeqo.com/u/cbensch)\
**Post date:** [June 7, 2021, 12:44pm UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/3 "2021-06-07T12:44:12Z")

</div>

the adjusted message

{  
“shipment”: {  
“tracking\_number\_attributes”: {  
“tracking\_number”: “05228782696616”  
},  
“carrier\_id”: 4,  
“notify\_customer”: false,  
“update\_remote\_order”: false  
},  
“allocation\_id”: 74073454,  
“order\_id”: 86458697  
}

still getting error 404

can anybody please assist? thank you

---

<div class="post-metadata">

**Author:** ![crb03](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/crb03/32/83_2.png) [@crb03](https://developer-forum.veeqo.com/u/crb03)\
**Post date:** [June 14, 2021, 9:01am UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/4 "2021-06-14T09:01:45Z")

</div>

My understanding is that each allocation (and allocation\_id) corresponds to a group of products allocated from a particular warehouse. With the right Veeqo settings, available stock for an order should be automatically allocated, and the out of stock items unallocated. POSTING to the shipments end point should create a shipment for the in stock items.

---

<div class="post-metadata">

**Author:** ![sam-veeqo](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/sam-veeqo/32/90_2.png) [@sam-veeqo](https://developer-forum.veeqo.com/u/sam-veeqo)\
**Post date:** [June 23, 2021, 1:38pm UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/5 "2021-06-23T13:38:45Z")

</div>

@crb03 Yep this is correct - if you ensure only the line items which can be fulfilled are allocated, and ship only that allocation, it will leave any out of stock products unshipped and create a shipment for the products which are in stock.

---

<div class="post-metadata">

**Author:** ![mikel1991](https://avatars.discourse-cdn.com/v4/letter/m/FF6200/32.png) [@mikel1991](https://developer-forum.veeqo.com/u/mikel1991)\
**Post date:** [September 25, 2021, 3:43pm UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/6 "2021-09-25T15:43:03Z")

</div>

Hello,

Following with this topic. If two items from the same order have the same allocation ID but they are splitted before being shipped, is it possible to create a splitted shipment with two different tracking numbers?

I tried to send them to veeqo via the /shipments endpoint, but if the allocation id for shipment 1 has been upload already, then I received a 400 error saying that the allocation ID already exist, so the order gets marked as shipped, but the second tracking number for the second item doesn’t upload

---

<div class="post-metadata">

**Author:** ![mikel1991](https://avatars.discourse-cdn.com/v4/letter/m/FF6200/32.png) [@mikel1991](https://developer-forum.veeqo.com/u/mikel1991)\
**Post date:** [September 25, 2021, 3:43pm UTC](https://developer-forum.veeqo.com/t/allocation-id-article-line-number-in-wms/391/7 "2021-09-25T15:43:36Z")

</div>

Hello,

Following with this topic. If two items from the same order have the same allocation ID but they are splitted before being shipped, is it possible to create a splitted shipment with two different tracking numbers?

I tried to send them to veeqo via the /shipments endpoint, but if the allocation id for shipment 1 has been upload already, then I received a 400 error saying that the allocation ID already exist, so the order gets marked as shipped, but the second tracking number for the second item doesn’t upload
