Skip to navigation

Save the editor

One call per editor Save; definition, pricing, flags and office settings save together in one transaction (JQ-03).

Authentication

AuthorizationBearer

API session token from POST /v1/admin/session (8 hours). Sign-in itself is Google Workspace; see research R2.

Path parameters

planIdstringRequired

Request

This endpoint expects an object.
titlestringRequired1-100 characters
availabilityobjectRequired
pricingobjectRequired
subtitlestringOptional<=100 characters
serviceLinestringOptional<=100 characters
annualServicesintegerOptional>=0
contractLengthMonthsintegerOptional>=0
serviceIntervalobjectOptional

Days between recurring visits, e.g. 80-100 for quarterly.

coveredPestIdslist of stringsOptional
coveredPestGroupIdslist of stringsOptional
officeslist of objectsOptional

Office settings saved in the same transaction as the plan (JQ-03).

versionintegerOptional

Version you last read. Omit on create; required on update. A stale value returns 409 version_conflict.

Response

Saved
titlestring1-100 characters
availabilityobject
pricingobject
idstringOptionalRead-only<=255 characters

Server-generated.

subtitlestringOptional<=100 characters
serviceLinestringOptional<=100 characters
annualServicesintegerOptional>=0
contractLengthMonthsintegerOptional>=0
serviceIntervalobjectOptional

Days between recurring visits, e.g. 80-100 for quarterly.

coveredPestIdslist of stringsOptional
coveredPestGroupIdslist of stringsOptional
officeslist of objectsOptional

Office settings saved in the same transaction as the plan (JQ-03).

versionintegerOptional

Version you last read. Omit on create; required on update. A stale value returns 409 version_conflict.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error