Rye icon

Rye

Interact with the Rye Universal Checkout API

Actions4

Checkout Intent → Create

AI-generated

Summary

Create a checkout intent for a product purchase via Rye's Universal Checkout API.

Inputs

  • productUrl (required) — The URL of the product to purchase from any supported merchant
  • itemQuantity — The quantity of the product to purchase
  • buyer (required) — Buyer details for the order (US only)

Output shape

The checkout intent object returned by Rye's API, reflecting the created intent and its current state.

The node performs a POST to /checkout-intents with body { productUrl, buyer: r.details, quantity: s }. If buyer.details.country is not 'us', execution throws a NodeOperationError.

Examples

Example 1: Create a checkout intent for a single item.

productUrl: https://www.amazon.com/Apple-MX532LL-A-AirTag/dp/B0CWXNS552, itemQuantity: 1, buyer: { details: { address1: ..., city: ..., country: US, email: ..., firstName: ..., lastName: ..., postalCode: ..., province: ... } }

Discussion