Discussion Forum: Thread 231525

 Author: minithings4life View Messages Posted By minithings4life
 Posted: Feb 1, 2018 00:44
 Subject: API to handle in progress orders
 Viewed: 106 times
 Topic: Suggestions
 Status:Open
 Vote:[Yes|No]
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

minithings4life (17098)

Location:  United Kingdom, England
Member Since Contact Type Status
Feb 18, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Minithingsforlife
Currently if an order is placed with instant checkout, the order goes into an
in progress state while Bricklink waits for some confirmation of payment from
Paypal. The order stays in that state for 10 minutes according to some other
posts in the forum.

I would like the API to be able to access these orders and the stock that is
tied up on them.

The reason is so that I can get an accurate picture of my inventory even if I
have in progress orders.

After all while the in progress order is there, I still have this inventory on
the shelf, but I don't have an order that it belongs to.

The absence of this feature is the only reason stopping me from turning instant
checkout on.
 Author: bb138026 View Messages Posted By bb138026
 Posted: Feb 1, 2018 03:43
 Subject: Re: API to handle in progress orders
 Viewed: 44 times
 Topic: Suggestions
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

bb138026 (2363)

Location:  Canada, Quebec
Member Since Contact Type Status
Nov 21, 2008 Contact Member Seller
No Longer RegisteredNo Longer Registered
Store Closed Store: Angry Bricks
No Longer Registered
In Suggestions, Minifigforlife writes:
  Currently if an order is placed with instant checkout, the order goes into an
in progress state while Bricklink waits for some confirmation of payment from
Paypal. The order stays in that state for 10 minutes according to some other
posts in the forum.

I would like the API to be able to access these orders and the stock that is
tied up on them.

The reason is so that I can get an accurate picture of my inventory even if I
have in progress orders.

After all while the in progress order is there, I still have this inventory on
the shelf, but I don't have an order that it belongs to.

The absence of this feature is the only reason stopping me from turning instant
checkout on.

+1

I will add that, to avoid race conditions, it would be best if these "checkout
in progress" orders could be listed within the results of the existing /orders
API call (with an appropriate new status code). In order to preserve backward
compatibility of the API call, this new behavior could be requested by specifying
an extra parameter, like inprogress=Y.