---
title: "Create external reference"
method: POST
path: "/api/v1/products/{id}/externalReferences"
tags: ["External Reference"]
---

# Create external reference

`POST /api/v1/products/{id}/externalReferences`

Creates new external references for a given Product

## Path parameters

- `id` string, required — Resource identifier.

## Request body

- object
  - `name` string
  - `number` string
  - `isActive` union — Loose boolean type which accepts boolean, number 0 or 1 and string 'true' or 'false'
    - boolean
    - 0 | 1
    - 'true' | 'false' | 'True' | 'False' | 'TRUE' | 'FALSE'
  - `isScannable` union — Loose boolean type which accepts boolean, number 0 or 1 and string 'true' or 'false'
    - boolean
    - 0 | 1
    - 'true' | 'false' | 'True' | 'False' | 'TRUE' | 'FALSE'
  - `target` object — Reference to another resource
    - `id` string, required — Resource identifier.

## Response `201`

Resource successfully created response

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — IETF RFC 9457 Problem API compliant response
- `429` — Too many API calls made.

---

[API](https://skmtc.dev/xentral/apis/xentral-api.md) · [All operations](https://skmtc.dev/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
