Booking

One booking

get/v1/bookings/{bookingId}

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/bookings/{bookingId}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.nogpets.com/oauth/authorize, token URL https://api.nogpets.com/oauth/token, scopes: bookings:read)
    • HTTP bearer

Path parameters

bookingIdstring required

Response

The booking

idstring required
categorystring required
whatstring
startstring date-time required
endstring date-time
whenstring
status'PENDING' | 'ACCEPTED' | 'REJECTED' | 'CANCELLED' | 'COMPLETED' required
paymentMethod'CARD' | 'CASH' required
paymentStatus'PENDING' | 'PAID' | 'CASH_DUE' | 'CASH_RECEIVED' | 'REFUND_REQUESTED' | 'REFUNDED' | 'FAILED' required
totalCentsinteger required
totalstring
crewstring[]
seriesIdstring nullable
canPayboolean
sourcestring

Example response

{
  "what": "Biscuit: Full groom, Nails",
  "discount": {
    "code": "WELCOME30"
  }
}

Changes

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