A "Buy Link" is a direct link to the checkout page with pre-selected items. It is created from the product variant IDs, their quantity, and discount code (optional). You can share them with customers, add to custom landings, use them in email marketing, etc.


A template of a direct Checkify link

Once a customer clicks on a Buy Link, it will change itself. For example, this what a customer would see if they go to https://pay.checkify.pro/api/checkoutByItems?store=Y2hlY2tpZnktZGVtbw==&items=37643071324339:3,37643057856691:1&discount=TEST:

In this article:

  1. Create a Buy Link link for your store

  2. Add product variant IDs, automatic discounts

  3. Resolving common issues

1. Create a direct Checkify link for your store

To find a template of Buy Link for your store, just visit the Settings section in your admin panel, then choose Buy link.

Direct checkout link template in Settings > Buy link.

The template you see is store-specific — it contains your encrypted .myshopify.com domain followed by shopping cart parameters. Thus, you only need to include your product(s) variant ID(s) and their quantity. If you wish, you can also add a discount code so it will be pre-loaded at the checkout page.

2. Add product IDs, automatically applied discount code

To find the ID of the product with variants, please follow these few steps:

  1. Log in to your Shopify account.

  2. Go to the Products panel.

  3. Click on the product you want to have its ID, and the product's page opens.

  4. Do either of the following:

  • If you have only one location for your store, then in the Variants section of the product detail page, click Edit beside the product variant.

  • If you have more than one location for your store, then in the Variants section of the product detail page, click the product variant.

5. Examine the URL in your browser's address bar. It should be similar to the following example:


The number after /variants/ is the variant ID number. In this example, the variant ID is 36485954240671.

Another method is to add ".xml" to the product's URL. Then, make sure to copy the ID of the variant you need (in case your product has multiple variants). Here's what you'll see:

Product variant ID

Now you only need to replace the placeholders in the link listed in your Checkify admin panel with the specific product variant ID(s) and discount codes.

Just in case, always test a newly created checkout link before sending it to a customer.

3. Resolving common issues

🙀 Can I create a checkout link for several products?

Yes, just add a few variant IDs and their quantities. Separate them with commas.

🙀 My Buy Link is not working. I am getting an error page.

Double-check the product variant IDs you've added to the link, make sure there are no spaces, and all the separating characters are correct.

🙀 How can I use a Buy Link on my landing page or in my newsletter?

You can embed it to any button or text in a promotional email or a landing page. You can also send this link directly to your customer, for example, if you want to offer them a personal discount.

🙀 Can I let customers edit quantities?

No, the quantities are pre-determined by the number you add to the link itself and cannot be edited at the checkout.

🙀 The Buy Links I've generated contain my store subdomain (store-name.myshopify.com) instead of an encrypted store ID. Do they still work?

Yes, that is an old type of connection, and these links still work. You don't have to replace them. However, any new Buy Links you create should contain the store encrypted ID.

Did this answer your question?