your-store and PRODUCT_ID. Use the address of your live store, including its custom domain if it has one. Copy the product ID from the product’s Embed checkout code in the dashboard.
Build the cart
Repeatitem once per line. Each value uses PRODUCT_ID:QUANTITY:VARIANT_ID.
Quantity defaults to
1 when you omit both quantity and variant. Use quantities from 1 to 99 and up to 20 lines per link. All products must belong to the store in the URL. For carts with multiple lines, include a variant ID for each product that requires a variant. You can omit it when the base option is available.
Attribution and pricing
- Use
reffor a store referral code. You can also passutm_source,utm_medium,utm_campaign,utm_term, andutm_content. Checkout uses the store’s existing attribution rules. - PaySum reads prices and options from the store. The link cannot set prices or override the store currency.
- Do not put buyer details or secrets in the link. Use the Checkout API to prefill buyer details on a specific session.
- Use an embed if you want checkout to open inside your site.
