Update a product. Retire one with `status: "INTERNAL"`.
curl --request PATCH \
--url https://api.sigmora.org/v1/products/{productDocId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"type": "<string>",
"link": "<string>",
"couponCode": "<string>",
"finance": true,
"topicKeywords": [
"<string>"
],
"bridgeLine": "<string>"
}
'import requests
url = "https://api.sigmora.org/v1/products/{productDocId}"
payload = {
"name": "<string>",
"description": "<string>",
"type": "<string>",
"link": "<string>",
"couponCode": "<string>",
"finance": True,
"topicKeywords": ["<string>"],
"bridgeLine": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
type: '<string>',
link: '<string>',
couponCode: '<string>',
finance: true,
topicKeywords: ['<string>'],
bridgeLine: '<string>'
})
};
fetch('https://api.sigmora.org/v1/products/{productDocId}', 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.sigmora.org/v1/products/{productDocId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'type' => '<string>',
'link' => '<string>',
'couponCode' => '<string>',
'finance' => true,
'topicKeywords' => [
'<string>'
],
'bridgeLine' => '<string>'
]),
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.sigmora.org/v1/products/{productDocId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"type\": \"<string>\",\n \"link\": \"<string>\",\n \"couponCode\": \"<string>\",\n \"finance\": true,\n \"topicKeywords\": [\n \"<string>\"\n ],\n \"bridgeLine\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.sigmora.org/v1/products/{productDocId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"type\": \"<string>\",\n \"link\": \"<string>\",\n \"couponCode\": \"<string>\",\n \"finance\": true,\n \"topicKeywords\": [\n \"<string>\"\n ],\n \"bridgeLine\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sigmora.org/v1/products/{productDocId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"type\": \"<string>\",\n \"link\": \"<string>\",\n \"couponCode\": \"<string>\",\n \"finance\": true,\n \"topicKeywords\": [\n \"<string>\"\n ],\n \"bridgeLine\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}API Reference
Update a product. Retire one with `status: "INTERNAL"`.
PATCH
/
v1
/
products
/
{productDocId}
Update a product. Retire one with `status: "INTERNAL"`.
curl --request PATCH \
--url https://api.sigmora.org/v1/products/{productDocId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"type": "<string>",
"link": "<string>",
"couponCode": "<string>",
"finance": true,
"topicKeywords": [
"<string>"
],
"bridgeLine": "<string>"
}
'import requests
url = "https://api.sigmora.org/v1/products/{productDocId}"
payload = {
"name": "<string>",
"description": "<string>",
"type": "<string>",
"link": "<string>",
"couponCode": "<string>",
"finance": True,
"topicKeywords": ["<string>"],
"bridgeLine": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
type: '<string>',
link: '<string>',
couponCode: '<string>',
finance: true,
topicKeywords: ['<string>'],
bridgeLine: '<string>'
})
};
fetch('https://api.sigmora.org/v1/products/{productDocId}', 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.sigmora.org/v1/products/{productDocId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'type' => '<string>',
'link' => '<string>',
'couponCode' => '<string>',
'finance' => true,
'topicKeywords' => [
'<string>'
],
'bridgeLine' => '<string>'
]),
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.sigmora.org/v1/products/{productDocId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"type\": \"<string>\",\n \"link\": \"<string>\",\n \"couponCode\": \"<string>\",\n \"finance\": true,\n \"topicKeywords\": [\n \"<string>\"\n ],\n \"bridgeLine\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.sigmora.org/v1/products/{productDocId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"type\": \"<string>\",\n \"link\": \"<string>\",\n \"couponCode\": \"<string>\",\n \"finance\": true,\n \"topicKeywords\": [\n \"<string>\"\n ],\n \"bridgeLine\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sigmora.org/v1/products/{productDocId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"type\": \"<string>\",\n \"link\": \"<string>\",\n \"couponCode\": \"<string>\",\n \"finance\": true,\n \"topicKeywords\": [\n \"<string>\"\n ],\n \"bridgeLine\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}Authorizations
A workspace API key.
Path Parameters
Required string length:
1 - 200Body
application/json
Required string length:
1 - 120Maximum string length:
2000What kind of thing it is: saas, tshirt, course. Decides how it is pitched.
Maximum string length:
60CTA target. Omit until you have a real one — a script never invents a link.
Maximum string length:
500Maximum string length:
60Defaults to PRE-LAUNCH, never LIVE.
Available options:
LIVE, PRE-LAUNCH, INTERNAL A financial product that must carry the education-only disclosure. Claimed deliberately.
Maximum array length:
30Required string length:
1 - 80The in-script line that bridges into the pitch, in channel voice.
Maximum string length:
500⌘I