Skip to main content
PATCH
Update passport

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Path Parameters

id
required

The record's id (a UUID), or ext:<external_id> with your own id for it, URL-encoded

Body

application/json
title

The product's name: a string (read as English), or one string per language, keyed by language tag (en, fr, pt-BR)

brand
string | null

null clears it

Maximum string length: 200
category
string | null

null clears it

Maximum string length: 200
public_enabled
boolean

Whether the published passport can be opened by anyone with its link

gtin
string | null

GTIN-8, 12, 13 or 14: digits only, with a valid check digit. Returned as 14 digits. null clears it

Pattern: ^([0-9]{8}|[0-9]{12,14})$
batch_lot
string | null

Batch or lot number: letters, digits and ! " % & ' ( ) * + , - . / : ; < = > ? _ (no spaces). null clears it

Required string length: 1 - 20
Pattern: ^[A-Za-z0-9!"%&'()*+,./:;<=>?_-]+$
serial
string | null

Serial number: letters, digits and ! " % & ' ( ) * + , - . / : ; < = > ? _ (no spaces). null clears it

Required string length: 1 - 20
Pattern: ^[A-Za-z0-9!"%&'()*+,./:;<=>?_-]+$
draft_data
object

Passport content beyond the fields above, merged key by key over what is stored (a key you send replaces that key whole). Keys: economic_operator {legal_name, eori, registered_address, contact_email}, manufacturing {facility_external_id, facility_country, assembly_country, manufactured_on}, stage_origins [{stage, country_code, facility_external_id}], care_instructions (a string or one per language), durability [{metric, value, standard_ref}], repairability {score, summary, spare_parts_url, disassembly_steps[], disassembly_tools[]}, circularity {recyclability_route, material_routes [{material, route}], takeback_scheme_name, takeback_url, epr_registration_number}, impact {carbon_kg_co2e, method, boundary, water_m3, energy_kwh, methodology_note}, svhc_declaration_made (boolean), image_urls []

Response

OK

passport
object
required
completeness
object
required
request_id
string
required

Quote this when asking about the request; also the X-Request-ID header