Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Checkout → Delete

AI-generated

Summary

Removes a Lemon Squeezy checkout by its unique ID.

Inputs

  • checkoutId (required) — The ID of the checkout to delete.
  • simplifyOutput — Whether to flatten the JSON:API attributes to the top level. Defaults to true.
  • retryOptions — Configure retry behavior for failed API requests (e.g., max retries, initial delay).

Output shape

a single item

The response is a single JSON object containing the deleted checkout details. If simplification is disabled, the raw JSON:API format (with type, attributes, and relationships) is returned.

Examples

Example 1: Delete a checkout by ID

Set Checkout ID to a specific checkout ID and optionally enable simplification.

Example 2: Delete a checkout with custom retry settings

Set Checkout ID and configure Retry Options (e.g., 5 max retries, 5000ms initial delay).

Links

Discussion