Cancelling order with restock items


#1

Hello there,

I found that sending update on order with status: ‘cancelled’ seems not work as I expected.

So basically I need restock all items from order, what request should I send for that?

I saw in developers console taht you send a lot of arguments on that url: PUT orders/:id/cancel, which of them should I pass?

Thanx a lot :slight_smile:


#2

Hey,

Sorry for the slow reply on this one. Took a bit of research!

At the moment you would need to remove the allocation in order to restock.

We’re looking to update the API in order to expose the orders/:id/cancel end point. Will update documentation and let you know when we have.


#3

Sorry for disturbing you, but, please, provide an example for this action.


#4

http://developers.veeqo.com/docs#/reference/allocations/allocation/delete


#5

Oh, thanx,
I’ll try it :slight_smile: