Business

Add services and prices to a sign-up

Step 2. Adds or replaces the business's services (the NogPets service model: one PRIMARY per booking per pet plus EXTRAs, prices by weight and coat tiers, durations), or starts from NogPets' own menu with useTemplate.

post/v1/business/applications/{applicationId}/services

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/business/applications/{applicationId}/services
  • 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:write)
    • HTTP bearer

Request body

useTemplateboolean

Copy NogPets' own menu for the business's lines first.

templateCategoriesLineId[]

Only these lines from the template.

priceAdjustPctinteger

ZAR businesses: move the template's prices by this percentage (rounded to R5).

replaceboolean

Drop the services there first.

removeIdsstring[]

Response

The application

applicationIdstring required
status'DRAFT' | 'SUBMITTED' | 'APPROVED' | 'REJECTED' required

DRAFT while it's being filled in; SUBMITTED while NogPets reviews it; APPROVED (the business exists, bizId) or REJECTED (reviewNote says why; editing it makes it a DRAFT again).

businessobject required
servicesobject[]
areasobject[]

Proposed territories, PENDING until approved.

resourcesobject[]
invitesobject[]
whatsappOptInboolean
planunknown
readyToSubmitboolean required
reviewNotestring

Why NogPets asked for changes.

bizIdstring

The business, once approved.

possibleListingsobject[]

Directory listings that may be this business: offer to claim one.

payfastInfostring
summarystring
statusUrlstring uri nullable

A page the person can open to see the checklist and status.

welcomeUrlstring uri

What NogPets offers businesses, for the person to read.

nextstring required

What to do now.

Changes

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