Skip to main content
Create a draft order and return a checkout URL for the embed modal (Markt.open / data-markt-product-id buttons). Public CORS: Access-Control-Allow-Origin: *. Rate limit: 30 / 60s429.
string
required
Product CUID (Product.id).
string
Stable variant UUID when the product has variants.
number
default:"1"
Quantity from 1–99.
string
default:"auto"
Embed theme: auto, light, or dark.
string
Prefill checkout email.
string
Apply a coupon at checkout.
string
Parent page URL after paid / close.
string
Affiliate / referral code.
object
String-valued metadata map.

Response

string
required
Draft order CUID.
string
required
Checkout URL including ?embed=1&theme=….

Errors

See also: Embed SDK.