Zum Hauptinhalt springen
POST
cURL

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

The new CheckoutLink resource

afterCheckout
object

The action to perform after checkout.

options
object

The options for the checkout link.

Beispiel:
isEnabled
boolean
Standard:true

Whether the checkout link is enabled or not.

Beispiel:

true

items
object[]
Minimum array length: 1

Antwort

CheckoutLink resource created

id
string
read-only

The unique identifier of the checkout link.

Beispiel:

"ad8f1c2c-3b1c-4b0a-8b0a-0b0b0b0b0b0b"

afterCheckout
object

The action to perform after checkout.

options
object
slug
string

The name of the checkout link.

Beispiel:

"my-checkout-slug"

isEnabled
boolean

Whether the checkout link is enabled or not.

Beispiel:

true

items
object[]
url
string
read-only

The URL of the checkout link.

Beispiel:

"https://example.com/checkout/my-checkout-slug"