List components of a product (kit)
curl --request GET \
--url https://api.example.com/products/{productId}/componentsimport requests
url = "https://api.example.com/products/{productId}/components"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/products/{productId}/components', 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.example.com/products/{productId}/components",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/products/{productId}/components"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/products/{productId}/components")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/products/{productId}/components")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyProduct Components
Listar components of a produto (kit)
Returns all components of a KIT/MANUFACTURED product with keyset pagination. Uses deterministic ordering (created_at ASC, id ASC). Maximum 500 records per request.
GET
/
products
/
{productId}
/
components
List components of a product (kit)
curl --request GET \
--url https://api.example.com/products/{productId}/componentsimport requests
url = "https://api.example.com/products/{productId}/components"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/products/{productId}/components', 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.example.com/products/{productId}/components",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/products/{productId}/components"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/products/{productId}/components")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/products/{productId}/components")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyReturns all components of a KIT/MANUFACTURED produto with keyset pagination. Uses deterministic ordering (created_at ASC, id ASC). Maximum 500 records per request.
Parâmetros de Rota (Path)
string
required
UUID of the parent produto (kit)
Query Params / Filtros
number
Maximum number of components to return. Defaults to all (capped at 500). Use together with
cursor for keyset pagination.string
Opaque cursor token for keyset pagination. Pass the
nextCursor value from a previous response to fetch the next page. The cursor encodes (created_at, id) for deterministic ordering.Path Parameters
UUID of the parent product (kit)
Query Parameters
Maximum number of components to return. Defaults to all (capped at 500). Use together with cursor for keyset pagination.
Required range:
1 <= x <= 500Example:
100
Opaque cursor token for keyset pagination. Pass the nextCursor value from a previous response to fetch the next page. The cursor encodes (created_at, id) for deterministic ordering.
Example:
"eyJjcmVhdGVkQXQiOiIyMDI2LTAxLTAxIiwiaWQiOiJ1dWlkIn0="
Response
Paginated list of components