Product Catalog
Browse Catalog
Returns a paginated catalog of gift products available to your API key (filtered by the key’s allowed countries).
How to call
- Method: GET
- URL:
{server}/api/v1/business/products - Header:
X-API-Key: <your-api-key> - Query: optional
page,limit,sortBy,order(see parameters below).
GET
/
api
/
v1
/
business
/
products
Browse Catalog
curl --request GET \
--url https://api-stage.ugift.me/api/v1/business/products \
--header 'X-API-Key: <api-key>'import requests
url = "https://api-stage.ugift.me/api/v1/business/products"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api-stage.ugift.me/api/v1/business/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-stage.ugift.me/api/v1/business/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-stage.ugift.me/api/v1/business/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-stage.ugift.me/api/v1/business/products")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-stage.ugift.me/api/v1/business/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"total": 128,
"page": 1,
"totalPages": 13,
"products": [
{
"_id": "65a1b2c3d4e5f678901234ab",
"imageUrl": "https://cdn.ugift.me/products/amazon-uk-card.png",
"merchant": "Amazon UK",
"productCode": "AMAZON_UK_STD",
"country": "GB",
"currency": "GBP",
"minPrice": 10,
"maxPrice": 500,
"denominations": [
10,
25,
50,
100,
200
],
"category": "Retail,Shopping",
"description": "Amazon.co.uk e-gift card for online purchases.",
"termsAndConditions": "Subject to Amazon.co.uk balance and fraud checks.",
"redemption": {
"channel": "online",
"region": "GB"
}
},
{
"_id": "65a1b2c3d4e5f678901234cd",
"imageUrl": "https://cdn.ugift.me/products/johnlewis-card.png",
"merchant": "John Lewis",
"productCode": "JL_UK_STD",
"country": "GB",
"currency": "GBP",
"minPrice": 5,
"maxPrice": 1000,
"denominations": [
10,
25,
50,
100
],
"category": "Retail,Shopping",
"description": "John Lewis & Partners gift card.",
"termsAndConditions": "Valid at John Lewis and Waitrose in the UK.",
"redemption": {
"channel": "in_store",
"region": "GB"
}
}
]
}Authorizations
Your UGiftMe API key for authentication.
Format: Secure API key (e.g., <your-api-key>)
Required: All endpoints require this header
Example: X-API-Key: <your-api-key>
Query Parameters
Required range:
x >= 1Available options:
asc, desc ⌘I
Browse Catalog
curl --request GET \
--url https://api-stage.ugift.me/api/v1/business/products \
--header 'X-API-Key: <api-key>'import requests
url = "https://api-stage.ugift.me/api/v1/business/products"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api-stage.ugift.me/api/v1/business/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-stage.ugift.me/api/v1/business/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-stage.ugift.me/api/v1/business/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-stage.ugift.me/api/v1/business/products")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-stage.ugift.me/api/v1/business/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"total": 128,
"page": 1,
"totalPages": 13,
"products": [
{
"_id": "65a1b2c3d4e5f678901234ab",
"imageUrl": "https://cdn.ugift.me/products/amazon-uk-card.png",
"merchant": "Amazon UK",
"productCode": "AMAZON_UK_STD",
"country": "GB",
"currency": "GBP",
"minPrice": 10,
"maxPrice": 500,
"denominations": [
10,
25,
50,
100,
200
],
"category": "Retail,Shopping",
"description": "Amazon.co.uk e-gift card for online purchases.",
"termsAndConditions": "Subject to Amazon.co.uk balance and fraud checks.",
"redemption": {
"channel": "online",
"region": "GB"
}
},
{
"_id": "65a1b2c3d4e5f678901234cd",
"imageUrl": "https://cdn.ugift.me/products/johnlewis-card.png",
"merchant": "John Lewis",
"productCode": "JL_UK_STD",
"country": "GB",
"currency": "GBP",
"minPrice": 5,
"maxPrice": 1000,
"denominations": [
10,
25,
50,
100
],
"category": "Retail,Shopping",
"description": "John Lewis & Partners gift card.",
"termsAndConditions": "Valid at John Lewis and Waitrose in the UK.",
"redemption": {
"channel": "in_store",
"region": "GB"
}
}
]
}