API: Identifiers
API: Identifiers
API: Identifiers
The Identifiers API provides two RPCs for managing product identifiers: one for reading all identifiers (active and retired) and one for creating or updating identifiers.
API integrators and automated systems that need to manage product identifiers programmatically.
list_product_identifiersReturns all identifiers for a product, including both active and retired entries.
Required inputs:
What it returns:
A JSON object containing:
Key details:
identifier_value (raw stored value) and identifier_value_normalized (digits-only presentation value).Authentication: Required. The caller must be authenticated and have access to the specified brand.
set_product_identifierCreates or updates an identifier for a product. If an active identifier of the same type already exists, it is retired and replaced.
Required inputs:
What it returns:
Key details:
products.sku, products.gtin) are updated automatically via write-through.Authentication: Required. The caller must be authenticated and hold an admin role for the specified brand.
Yes. list_product_identifiers requires brand access (any role), not specifically admin.
The operation is idempotent for the same value — no unnecessary retire/create cycle occurs.
Not directly via this API. Setting the same value again effectively creates a new active entry.