Information about the store
Request
GET
/place-info/v1/details
Query parameters
|
Name |
Description |
|
origin_id* |
Type: string Store identifier in the partner’s system. |
Headers
|
Name |
Description |
|
Authorization* |
Type: string Token received in response to the |
Responses
200 OK
Successfully retrieved store information.
Body
application/json
{
"schedule": {
"base": [
{
"weekday": "tuesday",
"from": "08:00",
"to": "20:00"
}
],
"override": [
{
"started_at": "2025-02-22",
"finished_at": "2025-02-23",
"from": "08:00",
"to": "20:00"
}
]
}
}
|
Name |
Description |
|
schedule* |
Type: ScheduleV1 Store operating hours. The provided time is validated. The minimum required number of operating hours per week should be agreed upon with the Yango Deli manager. |
ScheduleV1
Store operating hours. The provided time is validated. The minimum required number of operating hours per week should be agreed upon with the Yango Deli manager.
|
Name |
Description |
|
base* |
Type: IntervalV1[] Store operating hours. For 24/7 availability, use 00:00-24:00. |
|
override |
Type: OverrideIntervalV1[] List of overridden schedules for specific dates. For 24/7 availability, use 00:00-24:00. At the moment, the schedule is taken only from the |
IntervalV1
|
Name |
Description |
|
from* |
Type: string Beginning of interval (H:i format) Example: |
|
to* |
Type: string End of interval (H:i format) Example: |
|
weekday* |
Type: string Day of week Example: Enum: |
OverrideIntervalV1
|
Name |
Description |
|
finished_at* |
Type: string<date> End date (inclusive) of overridden schedule. Example: |
|
from* |
Type: string Beginning of interval (H:i format) Example: |
|
started_at* |
Type: string<date> Start date (inclusive) of overridden schedule. Example: |
|
to* |
Type: string End of interval (H:i format) Example: |
400 Bad Request
Request error.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
401 Unauthorized
Authorisation failed.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
500 Internal Server Error
Internal server error.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
No longer supported, please use an alternative and newer version.