curl --request PATCH \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"categoryId": "<string>",
"productTypeId": "<string>",
"coreChangeIntent": "save_in_project",
"name": "<string>",
"columnsAttributes": {},
"pushToCatalog": true
}
'import requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}"
payload = {
"version": 123,
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"categoryId": "<string>",
"productTypeId": "<string>",
"coreChangeIntent": "save_in_project",
"name": "<string>",
"columnsAttributes": {},
"pushToCatalog": True
}
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({
version: 123,
sourceMeta: {
url: '<string>',
selectors: {},
title: '<string>',
favicon: '<string>',
ogImage: '<string>',
clippedAt: '<string>'
},
categoryId: '<string>',
productTypeId: '<string>',
coreChangeIntent: 'save_in_project',
name: '<string>',
columnsAttributes: {},
pushToCatalog: true
})
};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}', 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://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}",
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([
'version' => 123,
'sourceMeta' => [
'url' => '<string>',
'selectors' => [
],
'title' => '<string>',
'favicon' => '<string>',
'ogImage' => '<string>',
'clippedAt' => '<string>'
],
'categoryId' => '<string>',
'productTypeId' => '<string>',
'coreChangeIntent' => 'save_in_project',
'name' => '<string>',
'columnsAttributes' => [
],
'pushToCatalog' => true
]),
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://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}"
payload := strings.NewReader("{\n \"version\": 123,\n \"sourceMeta\": {\n \"url\": \"<string>\",\n \"selectors\": {},\n \"title\": \"<string>\",\n \"favicon\": \"<string>\",\n \"ogImage\": \"<string>\",\n \"clippedAt\": \"<string>\"\n },\n \"categoryId\": \"<string>\",\n \"productTypeId\": \"<string>\",\n \"coreChangeIntent\": \"save_in_project\",\n \"name\": \"<string>\",\n \"columnsAttributes\": {},\n \"pushToCatalog\": true\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://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"version\": 123,\n \"sourceMeta\": {\n \"url\": \"<string>\",\n \"selectors\": {},\n \"title\": \"<string>\",\n \"favicon\": \"<string>\",\n \"ogImage\": \"<string>\",\n \"clippedAt\": \"<string>\"\n },\n \"categoryId\": \"<string>\",\n \"productTypeId\": \"<string>\",\n \"coreChangeIntent\": \"save_in_project\",\n \"name\": \"<string>\",\n \"columnsAttributes\": {},\n \"pushToCatalog\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}")
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 \"version\": 123,\n \"sourceMeta\": {\n \"url\": \"<string>\",\n \"selectors\": {},\n \"title\": \"<string>\",\n \"favicon\": \"<string>\",\n \"ogImage\": \"<string>\",\n \"clippedAt\": \"<string>\"\n },\n \"categoryId\": \"<string>\",\n \"productTypeId\": \"<string>\",\n \"coreChangeIntent\": \"save_in_project\",\n \"name\": \"<string>\",\n \"columnsAttributes\": {},\n \"pushToCatalog\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"projectId": "<string>",
"projectItemSlotId": "<string>",
"name": "<string>",
"catalogFamilyId": "<string>",
"catalogItemId": "<string>",
"materialFinish": {
"id": "<string>",
"name": "<string>",
"isBaseMaterial": true
},
"columnsAttributes": {},
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"instructionLinks": [
{
"assigneeRoleGroupIds": [
"mfg_vendors"
],
"id": "<string>",
"text": "<string>",
"position": 123
}
],
"isPrimary": true,
"catalogConnectionMode": "live",
"savedAt": "2023-11-07T05:31:56Z",
"selectedSource": {
"isDefault": true,
"companyName": {},
"officeName": {}
},
"collectionApplication": {
"collection": {
"id": "<string>",
"name": "<string>",
"brand": "<string>",
"region": "<string>",
"generation": 123,
"version": 123,
"navigable": true
},
"entry": {
"id": "<string>",
"label": "<string>",
"productTypeLabel": "<string>"
},
"reference": {
"label": "<string>",
"kind": "catalog_item",
"referenceCode": "<string>"
},
"application": {
"id": "<string>",
"createdAt": "<string>"
},
"content": {
"description": "<string>",
"notes": [
"<string>"
]
},
"governance": {
"mandatoryItem": true,
"designReviewRequired": true,
"optionalManufacturerNames": [
"<string>"
]
}
},
"categoryId": "<string>",
"productTypeId": "<string>",
"kind": "option",
"catalogFamilyStatus": "draft",
"catalogFamilyItemType": "default",
"catalogDecisionEventIds": [
"<string>"
],
"brandStandardId": "<string>",
"refNumber": "<string>",
"affectedParentPiIds": [
"<string>"
],
"version": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"slotColumnsAttributes": {},
"coreChangePolicy": {},
"catalogFamilySourceId": "<string>",
"syncStateCache": {
"hasDiff": true,
"columnsDiff": true,
"partsDiff": {
"hasDiff": true,
"addedLocally": [
"<string>"
],
"removedLocally": [
"<string>"
],
"quantityChanged": [
{
"catalogItemId": "<string>",
"projectQty": "<string>",
"catalogQty": "<string>"
}
]
},
"selectionDiff": {
"familySourceMismatch": true,
"itemSourceMismatch": true
},
"orphanedRefs": {
"family": true,
"item": true,
"familySource": true,
"itemSource": true
},
"computedAt": "<string>",
"componentsDiverged": true
},
"affectedCatalogFamilyId": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}Patch Item
curl --request PATCH \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"categoryId": "<string>",
"productTypeId": "<string>",
"coreChangeIntent": "save_in_project",
"name": "<string>",
"columnsAttributes": {},
"pushToCatalog": true
}
'import requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}"
payload = {
"version": 123,
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"categoryId": "<string>",
"productTypeId": "<string>",
"coreChangeIntent": "save_in_project",
"name": "<string>",
"columnsAttributes": {},
"pushToCatalog": True
}
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({
version: 123,
sourceMeta: {
url: '<string>',
selectors: {},
title: '<string>',
favicon: '<string>',
ogImage: '<string>',
clippedAt: '<string>'
},
categoryId: '<string>',
productTypeId: '<string>',
coreChangeIntent: 'save_in_project',
name: '<string>',
columnsAttributes: {},
pushToCatalog: true
})
};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}', 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://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}",
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([
'version' => 123,
'sourceMeta' => [
'url' => '<string>',
'selectors' => [
],
'title' => '<string>',
'favicon' => '<string>',
'ogImage' => '<string>',
'clippedAt' => '<string>'
],
'categoryId' => '<string>',
'productTypeId' => '<string>',
'coreChangeIntent' => 'save_in_project',
'name' => '<string>',
'columnsAttributes' => [
],
'pushToCatalog' => true
]),
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://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}"
payload := strings.NewReader("{\n \"version\": 123,\n \"sourceMeta\": {\n \"url\": \"<string>\",\n \"selectors\": {},\n \"title\": \"<string>\",\n \"favicon\": \"<string>\",\n \"ogImage\": \"<string>\",\n \"clippedAt\": \"<string>\"\n },\n \"categoryId\": \"<string>\",\n \"productTypeId\": \"<string>\",\n \"coreChangeIntent\": \"save_in_project\",\n \"name\": \"<string>\",\n \"columnsAttributes\": {},\n \"pushToCatalog\": true\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://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"version\": 123,\n \"sourceMeta\": {\n \"url\": \"<string>\",\n \"selectors\": {},\n \"title\": \"<string>\",\n \"favicon\": \"<string>\",\n \"ogImage\": \"<string>\",\n \"clippedAt\": \"<string>\"\n },\n \"categoryId\": \"<string>\",\n \"productTypeId\": \"<string>\",\n \"coreChangeIntent\": \"save_in_project\",\n \"name\": \"<string>\",\n \"columnsAttributes\": {},\n \"pushToCatalog\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{id}")
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 \"version\": 123,\n \"sourceMeta\": {\n \"url\": \"<string>\",\n \"selectors\": {},\n \"title\": \"<string>\",\n \"favicon\": \"<string>\",\n \"ogImage\": \"<string>\",\n \"clippedAt\": \"<string>\"\n },\n \"categoryId\": \"<string>\",\n \"productTypeId\": \"<string>\",\n \"coreChangeIntent\": \"save_in_project\",\n \"name\": \"<string>\",\n \"columnsAttributes\": {},\n \"pushToCatalog\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"projectId": "<string>",
"projectItemSlotId": "<string>",
"name": "<string>",
"catalogFamilyId": "<string>",
"catalogItemId": "<string>",
"materialFinish": {
"id": "<string>",
"name": "<string>",
"isBaseMaterial": true
},
"columnsAttributes": {},
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"instructionLinks": [
{
"assigneeRoleGroupIds": [
"mfg_vendors"
],
"id": "<string>",
"text": "<string>",
"position": 123
}
],
"isPrimary": true,
"catalogConnectionMode": "live",
"savedAt": "2023-11-07T05:31:56Z",
"selectedSource": {
"isDefault": true,
"companyName": {},
"officeName": {}
},
"collectionApplication": {
"collection": {
"id": "<string>",
"name": "<string>",
"brand": "<string>",
"region": "<string>",
"generation": 123,
"version": 123,
"navigable": true
},
"entry": {
"id": "<string>",
"label": "<string>",
"productTypeLabel": "<string>"
},
"reference": {
"label": "<string>",
"kind": "catalog_item",
"referenceCode": "<string>"
},
"application": {
"id": "<string>",
"createdAt": "<string>"
},
"content": {
"description": "<string>",
"notes": [
"<string>"
]
},
"governance": {
"mandatoryItem": true,
"designReviewRequired": true,
"optionalManufacturerNames": [
"<string>"
]
}
},
"categoryId": "<string>",
"productTypeId": "<string>",
"kind": "option",
"catalogFamilyStatus": "draft",
"catalogFamilyItemType": "default",
"catalogDecisionEventIds": [
"<string>"
],
"brandStandardId": "<string>",
"refNumber": "<string>",
"affectedParentPiIds": [
"<string>"
],
"version": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"slotColumnsAttributes": {},
"coreChangePolicy": {},
"catalogFamilySourceId": "<string>",
"syncStateCache": {
"hasDiff": true,
"columnsDiff": true,
"partsDiff": {
"hasDiff": true,
"addedLocally": [
"<string>"
],
"removedLocally": [
"<string>"
],
"quantityChanged": [
{
"catalogItemId": "<string>",
"projectQty": "<string>",
"catalogQty": "<string>"
}
]
},
"selectionDiff": {
"familySourceMismatch": true,
"itemSourceMismatch": true
},
"orphanedRefs": {
"family": true,
"item": true,
"familySource": true,
"itemSource": true
},
"computedAt": "<string>",
"componentsDiverged": true
},
"affectedCatalogFamilyId": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}{
"statusCode": 409,
"message": "Conflict",
"code": "VARIANT_COMBO_TAKEN",
"entity": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Show child attributes
Show child attributes
BigInt string. Must be supplied together with productTypeId.
^\d+$BigInt string or null. Must be supplied with categoryId.
^\d+$Explicitly permits a material Core change to remain only on this Project Item.
save_in_project 200Response
BigInt string
BigInt string
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
live participates in catalog synchronization; saved is a project-only saved catalog version
live, saved Show child attributes
Show child attributes
Show child attributes
Show child attributes
option, component CatalogFamily.status — drives FE Push/Pull button visibility
draft, new_from_project, new_from_collection, ready_to_use CatalogFamily.itemType for the linked live Catalog family
default, material, template Parent PI ids whose parts list embeds this PI as a row. Set only when the mutated PI is a component; FE invalidates each parent PI parts-list cache entry. Empty array for options.
Show child attributes
Show child attributes