*) These fields are required, but if an idcustomer is provided Picqer will copy these fields from the customer object. Fulfilment customers should always give these fields, because they are creating guest orders without an idcustomer.

Process an order

Orders with the status 'concept' can be 'processed'. When you process an order it becomes final and cannot be edited anymore.

With processing Picqer will create a picklist or backorders for this order.

The processing itself will take place in the background after you received the response. This is why you still see the status 'concept' in the response. When you check back in after a minute or two, the order will be processed.

Remove tag from order

DELETEhttps://example.picqer.com/api/v1/orders/{idorder}/tags/{idtag}

HTTP/1.1 204 No Content

Allocate stock to concept order

When an order has the status 'concept', there is no stock reserved for the order. With 'allocating' you can tell Picqer to allocate stock to this order so it is guaranteed that there is stock when you process the order at a later moment.

POSThttps://example.picqer.com/api/v1/orders/{idorder}/allocate

HTTP/1.1 200 OK
{
"idorder": 2918,
...
}

De-allocate stock from concept order

When an order has allocated stock, you can release that allocation with a de-allocate.

POSThttps://example.picqer.com/api/v1/orders/{idorder}/deallocate

HTTP/1.1 200 OK
{
"idorder": 2918,
...
}

Products

You can use the endpoint /api/v1/orders/{idorder}/products to only get the details of ordered products for an order.

To add a new product to an existing order, you can POST that product with the following example.

You can only add 1 product per call. Required fields are: idproduct and amount. Picqer will auto-complete the name and price, but you can also override those. You can only add products to an order with status 'concept'.

To update a product, you can send a PUT request to endpoint /api/v1/orders/{idorder}/products/{idorder_product} to update name, price, amount or remarks. Amounts can only be changed if the order has status 'concept'.

To delete an ordered product, send a DELETE request to endpoint /api/v1/orders/{idorder}/products/{idorder_product}. You can only remove products from an order with the status 'concept'.