GET /v1/link/abc123 HTTP/1.1
Host: api.checkoutlinks.com
Authorization: Bearer <TOKEN>
X-Shopify-Shop: yourshop.myshopify.com
Content-Type: application/json
{
  "status": "success",
  "message": "Link retrieved successfully",
  "data": {
    "shortcode": "abc123",
    "slug": "abc123",
    "name": "Holiday Sale Link",
    "status": "active",
    "type": "regular",
    "cart": {
      "line_items": [
        {
          "variant_id": "123456789",
          "quantity": 2
        }
      ],
      "attributes": [
        { "key": "shortcode", "value": "abc123" }
      ]
    },
    "discounts": {
      "free_gifts": [],
      "order_discount": null,
      "free_shipping": false,
      "discount_codes": []
    },
    "eligibility": {
      "schedule": null,
      "usage_limit": "none",
      "passcode": null
    },
    "url": "https://yourshop.com/abc123"
  }
}

Get Link

GET /v1/link/abc123 HTTP/1.1
Host: api.checkoutlinks.com
Authorization: Bearer <TOKEN>
X-Shopify-Shop: yourshop.myshopify.com
Content-Type: application/json
handle
string
required
The unique handle (shortcode) of the checkout link.
Authorization
string
required
Checkout Links access token. Format: Bearer <token>
X-Shopify-Shop
string
required
Shop domain (e.g., yourshop.myshopify.com).
{
  "status": "success",
  "message": "Link retrieved successfully",
  "data": {
    "shortcode": "abc123",
    "slug": "abc123",
    "name": "Holiday Sale Link",
    "status": "active",
    "type": "regular",
    "cart": {
      "line_items": [
        {
          "variant_id": "123456789",
          "quantity": 2
        }
      ],
      "attributes": [
        { "key": "shortcode", "value": "abc123" }
      ]
    },
    "discounts": {
      "free_gifts": [],
      "order_discount": null,
      "free_shipping": false,
      "discount_codes": []
    },
    "eligibility": {
      "schedule": null,
      "usage_limit": "none",
      "passcode": null
    },
    "url": "https://yourshop.com/abc123"
  }
}