Is there any way to receive the expected pick up time for an order that was submitted to Square? For pickup order we set the fulfilment type to ASAP but based on the prep time settings is it possible for us to get the date/time when the order is expected to be ready?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
https://developer.squareup.com/docs/orders-api/quick-start/start
Additional Documentation
Order-Ahead Sample Application
Order Fulfillments
Verify your Pickup Order
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Yes, you can receive the expected pickup time for an order. When you create a pickup order, you specify the pickup details in the “fulfillments” field of the Order object. This includes the pickup time, which can be set to a specific time or to “ASAP”.
If you set the fulfillment type to “ASAP”, the expected pickup time will be determined based on the prep time duration you specify. The prep time duration is the estimated time it takes to prepare the order for pickup.
Once the order is created, you can retrieve the order details using the RetrieveOrder endpoint of the Orders API. The response will include the fulfillment details, including the pickup time. If the fulfillment type was set to “ASAP”, the pickup time will reflect the time the order was created plus the prep time duration.
Please note that the pickup time is an estimate and the actual readiness of the order may vary.
This answer was reviewed by @Bryan-Square.
Thanks for the prompt response.
This is the bit that doesnt make sense to me. Our customers set their prep time in square… Why are we providing them the prep time if the information is all ready in Square?
Could we just pass in ASAP and then Square will calculate the pick up date/time based off of the settings in Square?
Or do we need to call some API to read those prep time settings so we can pass it back to the Order Creation API?
Thanks for the prompt response.
This is the bit that doesnt make sense to me. Our customers set their prep time in Square… Why are we providing them the prep time if the information is all ready in Square?
Could we just pass in ASAP and then Square will calculate the pick up date/time based off of the settings in Square?
Or do we need to call some API to read those prep time settings so we can pass it back to the Order Creation API?
At this time the prep times that are set in Square aren’t currently available with our APIs which is why you’ll need to set the prep time when creating the order. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team.
OK so what happens with the pick up date/time if we dont provide a value and jet pass in ASAP? Will SquareUp calculate a pick up date/time?