Create a checkout link
Create a checkout link that sells one tier of the plan. The returned url is the public entry point that creates a cart and redirects the buyer to the customerfront of the sales channel.
Autorisierungen
Organisation API token. Send it as Authorization: Bearer api_... The token is scoped to a single Organisation.
Pfadparameter
The plan UUID.
"1280792f-4e23-793d-8e9c-3a1bf36630bd"
Body
UUID of the tier the checkout link sells. Must belong to this plan.
Custom URL slug. When omitted a unique slug is generated.
3 - 64^[a-z0-9]([a-z0-9-]*[a-z0-9])?$Whether buyers may enter a coupon code during checkout.
Whether the link is active and reachable.
Sales channel as a UUID or as a technical name such as default. When omitted the active channel of the request is used, otherwise the Organisation default channel.
Antwort
The created checkout link.
"1280792f-4e23-793d-8e9c-3a1bf36630bd"
"pro-plan-pro"
"Pro"
Public checkout URL that creates a cart and redirects the buyer.
"https://coreapi.io/checkout-link/pro-plan-pro/cart"