Create or update a cost center assignment

Request

Security
OAuth2(Required scopes: FullAccessCostCenterAdmin)
Path
buyerIDstringrequired

ID of the buyer.

Bodyapplication/jsonrequired
CostCenterIDstringrequired
Example:""
UserGroupIDstring
Example:""
curl -i -X POST \
  'https://api.ordercloud.io/v1/buyers/{buyerID}/costcenters/assignments' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "CostCenterID": "",
    "UserGroupID": ""
  }'

Responses

Response
No content