Stores

❓Як поставити заклад на паузу або зняти його з паузи

Поля, що очікуються в запиті:

  • id – ідентифікатор закладу

  • pause – необхідна дія, доступні опції:

    • pause – поставити заклад на паузу

    • unpause – зняти заклад з паузи

  • till – час у секундах, на який треба поставити заклад на паузу (unix timestamp)

Pause/unpause branch

post

Pause/unpause branch

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Internal identifier

Example: 569e7427-14ca-43f1-8d4b-ed3b7f1fd197
pausestring · enumRequired

Pause/unpause param action

Possible values:
Body
tillstring | nullableOptional

Unix timestamp

Example: 1698420384
Responses
202

Accepted

application/json
Responseobject
post
/v1/merchant/stores/{id}/schedule/{pause}

❓Як змінити графік роботи закладу

Зміна графіку для окремого закладу

Щоб змінити графік роботи, заповніть у запиті наступні поля:

  • weekDay – день, на який змінюєте розклад

  • open – час відкриття закладу

  • closed – час, коли заклад зачиняється

Update schedule by branchId

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Internal identifier

Example: 569e7427-14ca-43f1-8d4b-ed3b7f1fd197
Bodyobject[]
weekDaystring · enumRequiredExample: mondayPossible values:
openstringRequiredExample: 09:00
closedstringRequiredExample: 21:00
Responses
202

Accepted

application/json
Responseobject
post
/v1/merchant/stores/{id}/schedule

Зміна графіку для кількох закладів одним запитом

Щоб змінити графік роботи, заповніть у запиті наступні поля:

  • storeId – ідентифікатор закладу в рамках компанії

  • open – час відкриття закладу

  • closed – час, коли заклад зачиняється

Update schedule by branchIds

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Bodyobject[]
storeIdstringRequiredExample: c6036747-f91c-4142-891d-c39104ece507
openstringRequiredExample: 09:00
closedstringRequiredExample: 21:00
Responses
202

Accepted

application/json
Responseobject
post
/v1/merchant/schedule

Last updated