POST /v1/link/abc123/duplicate HTTP/1.1
Host: api.checkoutlinks.com
Authorization: Bearer <TOKEN>
X-Shopify-Shop: yourshop.myshopify.com
Content-Type: application/json
{
  "status": "success",
  "message": "Link duplicated successfully",
  "data": {
    "shortcode": "xyz789",
    "slug": "xyz789",
    "name": "Holiday Sale Link (Copy)",
    "status": "draft",
    "type": "regular",
    "url": "https://yourshop.com/xyz789"
  }
}

Duplicate Link

POST /v1/link/abc123/duplicate 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 to duplicate.
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 duplicated successfully",
  "data": {
    "shortcode": "xyz789",
    "slug": "xyz789",
    "name": "Holiday Sale Link (Copy)",
    "status": "draft",
    "type": "regular",
    "url": "https://yourshop.com/xyz789"
  }
}