Query Jewelry Products
curl --request POST \
--url https://api-staging.unbridaled.ai/api/v3/products/jewelry/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"q": "<string>",
"id": [
"<string>"
],
"filter_variant_options": {},
"wholesale_price_min": 123,
"wholesale_price_max": 123,
"delivery_days_max": 123,
"order_by": "updated_on",
"order": "desc",
"limit": 100,
"offset": 0,
"include_unavailable": false
}
'import requests
url = "https://api-staging.unbridaled.ai/api/v3/products/jewelry/query"
payload = {
"q": "<string>",
"id": ["<string>"],
"filter_variant_options": {},
"wholesale_price_min": 123,
"wholesale_price_max": 123,
"delivery_days_max": 123,
"order_by": "updated_on",
"order": "desc",
"limit": 100,
"offset": 0,
"include_unavailable": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
q: '<string>',
id: ['<string>'],
filter_variant_options: {},
wholesale_price_min: 123,
wholesale_price_max: 123,
delivery_days_max: 123,
order_by: 'updated_on',
order: 'desc',
limit: 100,
offset: 0,
include_unavailable: false
})
};
fetch('https://api-staging.unbridaled.ai/api/v3/products/jewelry/query', 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-staging.unbridaled.ai/api/v3/products/jewelry/query",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'q' => '<string>',
'id' => [
'<string>'
],
'filter_variant_options' => [
],
'wholesale_price_min' => 123,
'wholesale_price_max' => 123,
'delivery_days_max' => 123,
'order_by' => 'updated_on',
'order' => 'desc',
'limit' => 100,
'offset' => 0,
'include_unavailable' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-staging.unbridaled.ai/api/v3/products/jewelry/query"
payload := strings.NewReader("{\n \"q\": \"<string>\",\n \"id\": [\n \"<string>\"\n ],\n \"filter_variant_options\": {},\n \"wholesale_price_min\": 123,\n \"wholesale_price_max\": 123,\n \"delivery_days_max\": 123,\n \"order_by\": \"updated_on\",\n \"order\": \"desc\",\n \"limit\": 100,\n \"offset\": 0,\n \"include_unavailable\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-staging.unbridaled.ai/api/v3/products/jewelry/query")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"<string>\",\n \"id\": [\n \"<string>\"\n ],\n \"filter_variant_options\": {},\n \"wholesale_price_min\": 123,\n \"wholesale_price_max\": 123,\n \"delivery_days_max\": 123,\n \"order_by\": \"updated_on\",\n \"order\": \"desc\",\n \"limit\": 100,\n \"offset\": 0,\n \"include_unavailable\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.unbridaled.ai/api/v3/products/jewelry/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": \"<string>\",\n \"id\": [\n \"<string>\"\n ],\n \"filter_variant_options\": {},\n \"wholesale_price_min\": 123,\n \"wholesale_price_max\": 123,\n \"delivery_days_max\": 123,\n \"order_by\": \"updated_on\",\n \"order\": \"desc\",\n \"limit\": 100,\n \"offset\": 0,\n \"include_unavailable\": false\n}"
response = http.request(request)
puts response.read_body{
"products": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"type": "<string>",
"vendor": {},
"variants": [
{}
]
}
],
"offset": 123,
"limit": 123,
"total": 123
}Products
Query Jewelry Products
Query the jewelry product catalog with typed jewelry filters
(metal, stone, jewelry type, etc.), price range, and pagination.
Catalog-gated the same way as products/query; locked to
type=jewelry regardless of request body.
filter_variant_options accepts jewelry attribute keys — see
/api/v3/product_filters?product_type=jewelry for the current
set of supported keys and their allowed values.
POST
/
api
/
v3
/
products
/
jewelry
/
query
Query Jewelry Products
curl --request POST \
--url https://api-staging.unbridaled.ai/api/v3/products/jewelry/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"q": "<string>",
"id": [
"<string>"
],
"filter_variant_options": {},
"wholesale_price_min": 123,
"wholesale_price_max": 123,
"delivery_days_max": 123,
"order_by": "updated_on",
"order": "desc",
"limit": 100,
"offset": 0,
"include_unavailable": false
}
'import requests
url = "https://api-staging.unbridaled.ai/api/v3/products/jewelry/query"
payload = {
"q": "<string>",
"id": ["<string>"],
"filter_variant_options": {},
"wholesale_price_min": 123,
"wholesale_price_max": 123,
"delivery_days_max": 123,
"order_by": "updated_on",
"order": "desc",
"limit": 100,
"offset": 0,
"include_unavailable": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
q: '<string>',
id: ['<string>'],
filter_variant_options: {},
wholesale_price_min: 123,
wholesale_price_max: 123,
delivery_days_max: 123,
order_by: 'updated_on',
order: 'desc',
limit: 100,
offset: 0,
include_unavailable: false
})
};
fetch('https://api-staging.unbridaled.ai/api/v3/products/jewelry/query', 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-staging.unbridaled.ai/api/v3/products/jewelry/query",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'q' => '<string>',
'id' => [
'<string>'
],
'filter_variant_options' => [
],
'wholesale_price_min' => 123,
'wholesale_price_max' => 123,
'delivery_days_max' => 123,
'order_by' => 'updated_on',
'order' => 'desc',
'limit' => 100,
'offset' => 0,
'include_unavailable' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-staging.unbridaled.ai/api/v3/products/jewelry/query"
payload := strings.NewReader("{\n \"q\": \"<string>\",\n \"id\": [\n \"<string>\"\n ],\n \"filter_variant_options\": {},\n \"wholesale_price_min\": 123,\n \"wholesale_price_max\": 123,\n \"delivery_days_max\": 123,\n \"order_by\": \"updated_on\",\n \"order\": \"desc\",\n \"limit\": 100,\n \"offset\": 0,\n \"include_unavailable\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-staging.unbridaled.ai/api/v3/products/jewelry/query")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"<string>\",\n \"id\": [\n \"<string>\"\n ],\n \"filter_variant_options\": {},\n \"wholesale_price_min\": 123,\n \"wholesale_price_max\": 123,\n \"delivery_days_max\": 123,\n \"order_by\": \"updated_on\",\n \"order\": \"desc\",\n \"limit\": 100,\n \"offset\": 0,\n \"include_unavailable\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.unbridaled.ai/api/v3/products/jewelry/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": \"<string>\",\n \"id\": [\n \"<string>\"\n ],\n \"filter_variant_options\": {},\n \"wholesale_price_min\": 123,\n \"wholesale_price_max\": 123,\n \"delivery_days_max\": 123,\n \"order_by\": \"updated_on\",\n \"order\": \"desc\",\n \"limit\": 100,\n \"offset\": 0,\n \"include_unavailable\": false\n}"
response = http.request(request)
puts response.read_body{
"products": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"type": "<string>",
"vendor": {},
"variants": [
{}
]
}
],
"offset": 123,
"limit": 123,
"total": 123
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Product ID(s) to filter by.
Jewelry attribute filters, e.g. {"jewelry_type": "Rings"}. See /api/v3/product_filters?product_type=jewelry for supported keys/values.
Column to sort by, or "category" to group by jewelry type/subtype.
Available options:
asc, desc ⌘I