active flag on a prefilled checkout link. Activate sets active: true; deactivate sets active: false. Both are idempotent — calling on a link already in the target state returns 200 with the current row, no state change.
Deactivation is the soft-delete path — the row remains stored and visible via List Links under ?active=false, and can be re-enabled by calling activate. For permanent removal, use Delete Link.
Endpoints
- Activate
- Deactivate
active: true on the link. Response always returns active: true.Authentication
Bearer token using your API key. Format:
Bearer cs_live_your_keyPath parameters
The parent form’s unique identifier.
The link’s unique identifier.
Request body
None — the path identifies the link and the verb (activate vs deactivate) identifies the target state.Response
Unique identifier for the link.
The parent form’s ID.
true after activate, false after deactivate. If the link was already in the target state, this still reflects the current value.Status codes
| Code | Description |
|---|---|
200 | Link is in the target state (newly toggled or already there). |
401 | Missing or invalid API key. |
403 | Link belongs to a different organization. |
404 | No link found with the given ID, or not attached to the supplied formID. |
500 | Internal error. |
Examples
- Activate
- Deactivate
cURL