Get information about a catalog product
curl --request POST \
--url https://api.wppfy.com/business/catalog/info \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"jid": "5511999999999@s.whatsapp.net",
"id": "<string>"
}
'import requests
url = "https://api.wppfy.com/business/catalog/info"
payload = {
"jid": "5511999999999@s.whatsapp.net",
"id": "<string>"
}
headers = {
"token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({jid: '5511999999999@s.whatsapp.net', id: '<string>'})
};
fetch('https://api.wppfy.com/business/catalog/info', 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.wppfy.com/business/catalog/info",
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([
'jid' => '5511999999999@s.whatsapp.net',
'id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.wppfy.com/business/catalog/info"
payload := strings.NewReader("{\n \"jid\": \"5511999999999@s.whatsapp.net\",\n \"id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("token", "<api-key>")
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.wppfy.com/business/catalog/info")
.header("token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"jid\": \"5511999999999@s.whatsapp.net\",\n \"id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wppfy.com/business/catalog/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"jid\": \"5511999999999@s.whatsapp.net\",\n \"id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"response": {
"id": "<string>",
"name": "<string>",
"price": "<string>",
"currency": "<string>",
"is_hidden": true,
"is_sanctioned": true,
"media": {
"images": [
{
"id": "<string>",
"original_image_url": "<string>",
"request_image_url": "<string>"
}
],
"videos": [
{
"id": "<string>",
"original_video_url": "<string>",
"thumbnail_url": "<string>"
}
]
},
"status_info": {
"status": "<string>",
"can_appeal": true
},
"retailer_id": "<string>",
"belongs_to": "<string>",
"description": "<string>",
"url": "<string>",
"shimmed_url": "<string>",
"max_available": 123,
"product_availability": "<string>",
"compliance_category": "<string>",
"compliance_info": {
"country_code_origin": "<string>",
"importer_name": "<string>",
"importer_address": {
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country_code": "<string>"
}
},
"sale_price": {
"price": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"variant_info": {
"listing_details": {
"description": "<string>",
"lowest_price": "<string>",
"multi_price": "<string>"
},
"availability": {},
"types": [
{}
],
"variant_properties": [
{
"name": "<string>",
"value": "<string>"
}
]
}
}
}{
"error": "invalid payload"
}{
"error": "client not found"
}{
"error": "<string>"
}Business
Get information about a catalog product
Returns the available details of a catalog product. Use the ID obtained from the product listing to open or review an item.
POST
/
business
/
catalog
/
info
Get information about a catalog product
curl --request POST \
--url https://api.wppfy.com/business/catalog/info \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"jid": "5511999999999@s.whatsapp.net",
"id": "<string>"
}
'import requests
url = "https://api.wppfy.com/business/catalog/info"
payload = {
"jid": "5511999999999@s.whatsapp.net",
"id": "<string>"
}
headers = {
"token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({jid: '5511999999999@s.whatsapp.net', id: '<string>'})
};
fetch('https://api.wppfy.com/business/catalog/info', 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.wppfy.com/business/catalog/info",
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([
'jid' => '5511999999999@s.whatsapp.net',
'id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.wppfy.com/business/catalog/info"
payload := strings.NewReader("{\n \"jid\": \"5511999999999@s.whatsapp.net\",\n \"id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("token", "<api-key>")
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.wppfy.com/business/catalog/info")
.header("token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"jid\": \"5511999999999@s.whatsapp.net\",\n \"id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wppfy.com/business/catalog/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"jid\": \"5511999999999@s.whatsapp.net\",\n \"id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"response": {
"id": "<string>",
"name": "<string>",
"price": "<string>",
"currency": "<string>",
"is_hidden": true,
"is_sanctioned": true,
"media": {
"images": [
{
"id": "<string>",
"original_image_url": "<string>",
"request_image_url": "<string>"
}
],
"videos": [
{
"id": "<string>",
"original_video_url": "<string>",
"thumbnail_url": "<string>"
}
]
},
"status_info": {
"status": "<string>",
"can_appeal": true
},
"retailer_id": "<string>",
"belongs_to": "<string>",
"description": "<string>",
"url": "<string>",
"shimmed_url": "<string>",
"max_available": 123,
"product_availability": "<string>",
"compliance_category": "<string>",
"compliance_info": {
"country_code_origin": "<string>",
"importer_name": "<string>",
"importer_address": {
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country_code": "<string>"
}
},
"sale_price": {
"price": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"variant_info": {
"listing_details": {
"description": "<string>",
"lowest_price": "<string>",
"multi_price": "<string>"
},
"availability": {},
"types": [
{}
],
"variant_properties": [
{
"name": "<string>",
"value": "<string>"
}
]
}
}
}{
"error": "invalid payload"
}{
"error": "client not found"
}{
"error": "<string>"
}