Update store hours for online store via API?

Our client uses Square POS in their stores, and we’ve deployed a custom mobile app using the various stores, catalog, locations, etc., apis. They’ve also recently started using an online store they created using the *.square.site feature offered by square.

The question is about updating open hours (and more often, if a store has to close for a day unexpectedly, removing open hours so orders can’t be placed when the building is empty).

We’re doing this using the updateLocation API in the locations sdk. This is great, it updates the hours for the brick & mortar POS and the mobile app. However, the *.square.sites appears to have its own open hour data, and we can’t determine if we can shut off order flow to those stores programmatically when the store’s kitchen will be closed.

I found that there is a “sites” api, but it has only one API call, which is to return a list of stores.

Are there other APIs not documented, or some way to update the *.square.site hours without having business users manually login and change them? Obviously the pain point is needing to make the same updates in multiple systems when the store location is closed. We’re open to any suggestion how we could have managers go to one place to update hours for store, SDK app and online *.square.site app.


1 Like

At this time the fulfillment hours aren’t available with our API. Sadly the seller will need to manually adjust the fulfillment hours. 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. :slightly_smiling_face:

Did this get done by any chance? It would be great to be able to temporarily open and close the store, and interact with the holiday hours thing via API. The UI for that is horrible.

Unfortunately, this isn’t currently available. :slightly_smiling_face: