Rippling: Update a background check package
Rippling restApi.updateBackgroundCheckPackages: arguments, response, policy and SDK examples.
← Rest API operations · Get started
Operation rippling.rest_api.update_background_check_packages
Provider route: PATCH /background-check-packages/{id}/. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/rippling with npm, or alter-sdk-rippling with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { RipplingIntegration } from "@alter-ai/rippling";
async function execute(input: Parameters<RipplingIntegration["restApi"]["updateBackgroundCheckPackages"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new RipplingIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.restApi.updateBackgroundCheckPackages(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_rippling import RipplingIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = RipplingIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.rest_api.update_background_check_packages(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.id | string | Required within parent | Format: id |
body | Model | Optional | Expand Update a background check package — request body — body |
Referenced models: Update a background check package — request body — body
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Background Check Package DTO. Represents a background check package/type offered by a provider. Packages define the scope of background checks (e.g., “Basic Criminal Check”, “Employment Verification”, “Comprehensive Background Check”). TERMINOLOGY NOTE: This resource is called “package” in the Platform API to align with standard background check provider terminology. In the Rippling webapp UI and Object Graph, this same concept is referred to as “check type” or “background check type”. Both terms refer to the same underlying resource. IMPORTANT: “package” is the frozen external API term. Object Graph’s “check type” terminology is internal only. Do NOT add check_type_id or check_type_external_id as field aliases in the future. Required Fields (for creation): - name: Package name (e.g., “Standard Background Check”) - external_id: Provider’s unique identifier for the package (idempotency key) - price: Price with currency_type and value (e.g., {“currency_type”: “USD”, “value”: “25.00”}) Optional Fields: - summary: Package description/summary Read-Only Fields: - id: Unique identifier of the package - created_at: Creation timestamp - updated_at: Last update timestamp |
created_at | string | Optional | The timestamp when the package was created. |
external_id | string | Required within parent | The provider’s unique identifier for the package (used as idempotency key). |
id | string | Optional | The unique identifier of the background check package. |
name | string | Required within parent | The name of the background check package. |
price | Model | Required within parent | Expand Update a background check package — response body — price |
summary | string | Optional | A brief description or summary of what the package includes. |
updated_at | string | Optional | The timestamp when the package was last updated. |
Referenced models: Update a background check package — response body — price
Schemas
Section titled “Schemas”Update a background check package — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Background Check Package DTO. Represents a background check package/type offered by a provider. Packages define the scope of background checks (e.g., "Basic Criminal Check", "Employment Verification", "Comprehensive Background Check"). TERMINOLOGY NOTE: This resource is called "package" in the Platform API to align with standard background check provider terminology. In the Rippling webapp UI and Object Graph, this same concept is referred to as "check type" or "background check type". Both terms refer to the same underlying resource. IMPORTANT: "package" is the frozen external API term. Object Graph's "check type" terminology is internal only. Do NOT add check_type_id or check_type_external_id as field aliases in the future. Required Fields (for creation): - name: Package name (e.g., "Standard Background Check") - external_id: Provider's unique identifier for the package (idempotency key) - price: Price with currency_type and value (e.g., {"currency_type": "USD", "value": "25.00"}) Optional Fields: - summary: Package description/summary Read-Only Fields: - id: Unique identifier of the package - created_at: Creation timestamp - updated_at: Last update timestamp |
external_id | string | Required within parent | The provider's unique identifier for the package (used as idempotency key). |
name | string | Required within parent | The name of the background check package. |
price | object | Required within parent | The price with currency_type and value. Example: {"currency_type": "USD", "value": "25.00"} for $25.00 USD. May be null on read for legacy rows created before price tracking was implemented. |
price.currency_type | string | Optional | The currency type, ex: USD, EUR, etc. |
price.value | number | Optional | The decimal amount for the currency. |
summary | string | Optional | A brief description or summary of what the package includes. |
Update a background check package — response body — price
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The price with currency_type and value. Example: {"currency_type": "USD", "value": "25.00"} for $25.00 USD. May be null on read for legacy rows created before price tracking was implemented. |
currency_type | string | Optional | The currency type, ex: USD, EUR, etc. |
value | JSON | Optional | |
value (anyOf 1) | number | Alternative | The decimal amount for the currency. |
value (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: rippling.rest_api.update_background_check_packages. Catalog operation: update-background-check-packages. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["background-check-packages.read-write"]
Provider entitlements: ["Background_Check_Platform_API"]
Pinned headers: {"Rippling-Api-Version": "2024-08-01"}