Skip to main content
GET
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Query Parameters

expand
string

Comma-separated relations to expand: discount, price_variants

Response

Checkout link details

id
string
required
object
string
required
name
string | null
required
success_url
string | null
required
allow_discount_codes
boolean
required
metadata
object | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
url
string
required
discount

ID by default, full object when expanded

price_variants
object[]