Cost centers are used to allocate organizational expenditures. Customers may have different names for this, such as "allocation codes" or "charge back codes", but the purpose is to allocate an expense to a person or department in an organization. Cost centers can referenced on line items, but they do not influence any behavior in OrderCloud.
Security
OAuth2(Required scopes: FullAccessCostCenterAdminCostCenterReader)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/buyers/{buyerID}/costcenters
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/buyers/{buyerID}/costcenters?search=string&searchOn=ID&sortBy=Name&page=1&pageSize=20&filters=' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "Items": [ { … } ], "Meta": { "Page": 0, "PageSize": 0, "TotalCount": 0, "TotalPages": 0, "ItemRange": [ … ], "NextPageKey": "string" } }