GET Get Prep Time
Retrieves the next available time for the store to accept orders, along with the sites current time.
URI template
v1/Stores/{storeIdentifier}/PrepTime/ForOrderMode/{orderMode}?timeout={timeout}Request Information
URI Parameters
| Name | Type | Additional information | Description |
|---|---|---|---|
| storeIdentifier | integer |
Required |
The store to send the command to |
| orderMode | OrderModeType |
Required |
The ordermode you want used for time generation |
| timeout | integer |
Default value is 30000 |
The timeout for this command |
Body Parameters
None.
Response Information
Resource Description
A GetPrepTimeResponse object, which contains the StoreApiResponse, SiteTime, and PrepTime
GetPrepTimeResponse| Name | Type | Additional information | Description |
|---|---|---|---|
| ApiResult | StoreApiResponse |
None. |
The result returned by the Api |
| PrepTime | integer |
None. |
Requested prep time (in minutes) at the store |
| SiteTime | date |
None. |
Local time at the store |
Response Formats
application/xml, text/xml
Sample:
<GetPrepTimeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoreConnect.Responses.ResponseObjects.StoreResponses">
<ApiResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/StoreConnect.Responses" xmlns="http://schemas.datacontract.org/2004/07/StoreConnect.Responses.ResponseObjects">
<d2p1:ResultCode>2</d2p1:ResultCode>
<d2p1:ResultMessage>sample string 3</d2p1:ResultMessage>
<d2p1:TransactionId>6f10d01a-2345-4f09-99a8-e2ca511f87c5</d2p1:TransactionId>
</ApiResult>
<PrepTime>1</PrepTime>
<SiteTime>2025-11-04T04:23:19.3769928+00:00</SiteTime>
</GetPrepTimeResponse>