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"
}
}
Retrieve a single checkout link by handle.
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 /v1/link/abc123 HTTP/1.1
Host: api.checkoutlinks.com
Authorization: Bearer <TOKEN>
X-Shopify-Shop: yourshop.myshopify.com
Content-Type: application/json
Bearer <token>
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"
}
}