---
title: "Create company association"
method: POST
path: "/appReseller/v1/companyAssociations"
tags: ["AppResellerCompanyAssociation"]
---

# Create company association

`POST /appReseller/v1/companyAssociations`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/appReseller/v1/companyAssociations`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/appReseller/v1/companyAssociations/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates an association (link) between a customer company and a reseller company.

## Request body

- CustomerCompanyAssociationCreationRequest
  - `customerCompanyId` string, required: Customer company ID
  - `resellerCompanyId` string, required: Reseller company ID

## Response `200`

Success

- CustomerCompanyAssociation
  - `id` string, required: Customer company ID
  - `resellerCompany` CompanyAssociation, required: A minimum version of a company: includes only the company ID and name
    - `id` string, required: Company ID
    - `name` string, required: Company name
  - `customerCompany` CompanyAssociation, required: A minimum version of a company: includes only the company ID and name
    - `id` string, required: Company ID
    - `name` string, required: Company name
  - `createdOn` number, required: Date on which new customer company association was created, in UNIX Epoch milliseconds

## Other responses

- `404`: Resource does not exist
- `409`: Conflict

## Changes

- **2026-11-06** `1fc240f06971`: 5 breaking, 7 info
  - added the new required request property `customerCompanyId`
  - added the new required request property `resellerCompanyId`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - …8 more

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/appReseller/v1/companyAssociations/post.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
