Run

Rebook a client's visit at a new time

Books the same client, pets, services and address as a past booking at a new time, at today's prices. Without confirm: 409 CONFIRM_REQUIRED with the summary. South African businesses only. 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/bookings/{bookingId}/repeat

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/business/bookings/{bookingId}/repeat
  • 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
startstring date-time required

From find_business_times with fromBookingId.

resourceIdstring
paymentMethod'CASH' | 'CARD'
notesstring
confirmboolean

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

Response

OK

bookingIdstring required
statusstring
whenstring
startstring
resourceIdstring
paymentMethodstring
totalstring
totalCentsinteger
summarystring
payUrlstring nullable

CARD: the client's Payfast link (48 hours).

clientIdstring
repeatOfstring
nextstring

Changes

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