JavaScript
Checkout Intents
Create checkout intent
Create a checkout intent with the given request body.
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs-test.rye.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Rye API key
Body
application/json
Required range:
x >= 0Example:
1
Example:
"https://www.amazon.com/dp/B0DFC9MT8Q"
Maximum array length:
16Promo code string with validation constraints.
- Must contain only letters, digits, underscores, or hyphens
- Maximum length of 32 characters
Maximum string length:
32Pattern:
^[a-zA-Z0-9_\-]+$Response
Created
- Retrieving Offer
- Awaiting Confirmation
- Requires Action
- Placing Order
- Completed
- Failed
Required range:
x >= 0Available options:
retrieving_offer Promo code string with validation constraints.
- Must contain only letters, digits, underscores, or hyphens
- Maximum length of 32 characters
Maximum string length:
32Pattern:
^[a-zA-Z0-9_\-]+$
