---
title: "Set Techpack Attribution By Share Code"
method: POST
path: "/admin/techpacks/by-code/{share_code}/attribution"
tags: ["admin"]
---

# Set Techpack Attribution By Share Code

`POST /admin/techpacks/by-code/{share_code}/attribution`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/admin/techpacks/by-code/{share_code}/attribution`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Platform-admin: attribute a tech pack to a brand and/or manufacturers
using its share code.

## Path parameters

- `share_code` string, required

## Request body

- AdminTechPackAttributionRequest
  - `brand_id` string, uuid, nullable
  - `manufacturer_ids` string[], nullable

## Response `200`

Successful Response

- TechPackAttributionResponse: Returned by the brand/manufacturer link/unlink endpoints.
  - `job_id` string, uuid, required
  - `brand_id` string, uuid, nullable
  - `manufacturer_ids` string[]
  - `brand` TechPackBrandSummary: Compact brand reference returned alongside a tech pack.
    - `id` string, uuid, required
    - `name` string, required
    - `manufacturer_id` string, uuid, nullable
    - `contact_email` string, nullable: Brand org owner's email; surfaced for manufacturer-side dashboards.
  - `manufacturers` TechPackManufacturerSummary[]
    - `id` string, uuid, required
    - `company_name` string, nullable
    - `factory_name` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
