List product requests (claims, edits, conversions)
curl --request GET \
--url http://localhost:3000/v1/admin/partners/products/requestsimport requests
url = "http://localhost:3000/v1/admin/partners/products/requests"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:3000/v1/admin/partners/products/requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/v1/admin/partners/products/requests",
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 := "http://localhost:3000/v1/admin/partners/products/requests"
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("http://localhost:3000/v1/admin/partners/products/requests")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/v1/admin/partners/products/requests")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"requests": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_brand": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_name": "<string>",
"company_logo_url": "<string>"
},
"product": {
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"image_url": "<string>",
"barcode": "<string>",
"selling_price": 123
},
"proposed_changes": {},
"proposed_wholesale_price": 123,
"proposed_selling_price": 123,
"proposed_commission_rate": 123,
"rejection_reason": "<string>",
"admin_notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}{
"error": "<string>",
"message": "<string>"
}Admin - Partner Products
List product requests (claims, edits, conversions)
Returns a paginated list of partner product requests with optional type filter.
GET
/
v1
/
admin
/
partners
/
products
/
requests
List product requests (claims, edits, conversions)
curl --request GET \
--url http://localhost:3000/v1/admin/partners/products/requestsimport requests
url = "http://localhost:3000/v1/admin/partners/products/requests"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:3000/v1/admin/partners/products/requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/v1/admin/partners/products/requests",
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 := "http://localhost:3000/v1/admin/partners/products/requests"
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("http://localhost:3000/v1/admin/partners/products/requests")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/v1/admin/partners/products/requests")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"requests": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_brand": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_name": "<string>",
"company_logo_url": "<string>"
},
"product": {
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"image_url": "<string>",
"barcode": "<string>",
"selling_price": 123
},
"proposed_changes": {},
"proposed_wholesale_price": 123,
"proposed_selling_price": 123,
"proposed_commission_rate": 123,
"rejection_reason": "<string>",
"admin_notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}{
"error": "<string>",
"message": "<string>"
}Query Parameters
Required range:
1 <= x <= 100Required range:
x >= 0Available options:
all, new_product, claim, edit, conversion ⌘I