GET /v1/links HTTP/1.1
Host: api.checkoutlinks.com
Authorization: Bearer <TOKEN>
X-Shopify-Shop: yourshop.myshopify.com
Content-Type: application/json
{
"status": "success",
"data": {
"links": [
{
"shortcode": "abc123",
"slug": "abc123",
"name": "Holiday Sale Link",
"status": "active",
"type": "regular"
},
{
"shortcode": "def456",
"slug": "def456",
"name": "Spring Sale Link",
"status": "draft",
"type": "regular"
}
],
"total": 2,
"pagesProcessed": 1
}
}
Retrieve all checkout links.
GET /v1/links HTTP/1.1
Host: api.checkoutlinks.com
Authorization: Bearer <TOKEN>
X-Shopify-Shop: yourshop.myshopify.com
Content-Type: application/json
{
"status": "success",
"data": {
"links": [
{
"shortcode": "abc123",
"slug": "abc123",
"name": "Holiday Sale Link",
"status": "active",
"type": "regular"
},
{
"shortcode": "def456",
"slug": "def456",
"name": "Spring Sale Link",
"status": "draft",
"type": "regular"
}
],
"total": 2,
"pagesProcessed": 1
}
}
GET /v1/links 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",
"data": {
"links": [
{
"shortcode": "abc123",
"slug": "abc123",
"name": "Holiday Sale Link",
"status": "active",
"type": "regular"
},
{
"shortcode": "def456",
"slug": "def456",
"name": "Spring Sale Link",
"status": "draft",
"type": "regular"
}
],
"total": 2,
"pagesProcessed": 1
}
}