Booking

Price for these pets at this address

The server's price and duration for one visit. Pets and address by value (no account needed), or saved ones (addressId, petId) with a token.

post/v1/quote

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/quote
  • Auth: none required

Request body

categorystring required

A service line id: grooming, walking or sitting.

addressstring

Typed address with the suburb or postal code, or "lat,lng".

latnumber
lngnumber
postalCodestring
addressIdstring

A saved address (needs a token with the addresses scope).

promoCodestring

A promo code (e.g. WELCOME30). Leave it out to apply a code the person claimed on nogpets.com (matched by their mobile); send "" for none.

Example request

{
  "category": "grooming"
}

Response

The quote

categorystring required
durationMininteger required
subtotalCentsinteger required
cardFeeCentsinteger required
cardTotalCentsinteger required
cashTotalCentsinteger nullable

Null when cash isn't taken. After the discount.

discountError'UNKNOWN' | 'INACTIVE' | 'NOT_STARTED' | 'EXPIRED' | 'USED_UP' | 'NOT_APPLICABLE' | 'NOT_FIRST' | 'LIMIT_REACHED' | 'MIN_SUBTOTAL' | 'null' nullable

Why promoCode can't be used. The quote is then without it.

acceptsCashboolean required
groupobject nullable

A group walk: {serviceId, size, dogs}.

summarystring required

Example response

{
  "discount": {
    "code": "WELCOME30"
  }
}

Changes

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