seo
POST /v1/seo-desk/clients/{engagementId}/periods/{monthNo}
Mark one month paid or not paid by your client. Stops its payment reminders.
Authentication
Send an API key as a bearer token. The endpoint checks sites.seo.manage; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/seo-desk/clients/{engagementId}/periods/{monthNo} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "paid": <boolean> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Needs sites.seo.manage in the org the desk belongs to (a multi-org caller names it with org_id or X-Zinn-Org). Records that YOUR client paid you for the month; moves no money. A paid month gets no more payment reminders. paid is a JSON boolean (never the string "false") and amount_minor a JSON integer above 0, refused with 422 otherwise. Audit-logged as seo_client.period_marked.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
engagementId (path) | string | Yes | — |
monthNo (path) | integer | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
paid | boolean | Yes | — |
amount_minor | integer | No | What your client paid, in minor units. Omit for the month's amount. |
paid_on | string | No | — |
note | string | No | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
rank_check_price | SeoDeskPrice | Yes | What rank checks cost you, in micros of USD Zinn® credit, from the rank_check price row. null when no price is set (no report is started then). |
Errors this endpoint can return
401 · 403 · 404 · 422