# Create a cost center

Endpoint: POST /buyers/{buyerID}/costcenters
Version: 1.0.445.36017
Security: OAuth2

## Path parameters:

  - `buyerID` (string, required)
    ID of the buyer.

## Request fields (application/json):

  - `Name` (string, required)

  - `ID` (string)

  - `Description` (string)

  - `xp` (object)
    Example: {}

## Response 201 fields (application/json):

  - `ID` (string)

  - `Name` (string)

  - `Description` (string)

  - `xp` (object)
    Example: {}

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: "404"

  - `ErrorCode` (string)
    Example: "NotFoundError"

  - `Message` (string)
    Example: "Object not found"

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}


