---
title: "Assign a source record to a supplier"
method: POST
path: "/suppliers/source-records/assign"
tags: ["Suppliers"]
---

# Assign a source record to a supplier

`POST /suppliers/source-records/assign`

## Request body

- AssignSupplierSourceRecordRequest
  - `sourceRecordId` string, required
  - `supplierId` string, required

## Response `200`

Source record assigned

- SupplierSourceRecordResolutionResponse
  - `data` SupplierSourceRecordResolution, required
    - `sourceRecordId` string, required
    - `status` 'resolved' | 'unresolved', required
    - `supplierId` string
  - `meta` object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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