Run

The weekly hours of the business or some vans and walkers

Sets the working week (local time) for every van, walker and sitter, or those in resourceIds. Bookings outside the new hours stay booked and are listed. Needs confirm after the summary. Needs business:manage; the signed-in person must be an owner, manager or staff member of an approved NogPets business (bizId only if they run more than one).

post/v1/business/hours

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/business/hours
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.nogpets.com/oauth/authorize, token URL https://api.nogpets.com/oauth/token, scopes: business:manage)
    • HTTP bearer

Request body

bizIdstring
resourceIdsId[]

Only these; left out, every van, walker and sitter.

confirmboolean

true only after the person saw the summary from the first call and said yes.

Response

OK

resourceIdsstring[]
weekobject
summarystring
nextstring

Changes

No recorded changes to this operation across all 1 revision of this API.