REST interface to Avalara's enterprise tax service, AvaTax.
Updates a single cost center owned by the company. Use the costcenterId path parameter to identify the cost center to update.
1curl -g -X PUT 'https://sandbox-rest.avatax.com/api/v2/companies/{companyid}/costcenters/{costcenterid}' \ 2-H 'X-Avalara-Client: {X-Avalara-Client}' \ 3-H 'Authorization: Basic <Base64-encoded credentials>' \ 4-H 'Content-Type: application/json' \ 5-d '{"entityUseCode":"G","effectiveDate":"2025-05-02","endDate":"2025-05-02","defaultItem":{"identifier":0},"costCenterCode":"CostCenter1"}'
1{ 2 "costCenterId": 0, 3 "companyId": 1, 4 "meta": { 5 "createdDate": "0001-01-01", 6 "modifiedDate": "0001-01-01" 7 }, 8 "entityUseCode": "G", 9 "effectiveDate": "2025-05-02", 10 "endDate": "2025-05-02", 11 "defaultItem": { 12 "identifier": 0 13 }, 14 "costCenterCode": "CostCenter1" 15}