Cost Center

Endpoints for Cost Center addon

Cost Center addon

Save a Cost Center

post

This route is used to create a new Cost Center

Body
anyOptional
Responses
post
/b2b/cost-center
200

Success

No content

Fetch a Cost Center

get
Path parameters
CostCenterIdstringRequired

ID of CostCenter

Responses
get
/b2b/cost-center/{id}
200

New response

No content

Update a Cost Center

put

This route is used to update a existing Cost Center

Path parameters
CostCenterIdstringRequired

ID of CostCenter

Body
anyOptional
Responses
put
/b2b/cost-center/{id}
200

Success

No content

Delete a Cost Center

delete

This route is used to delete a existing Cost Center

Path parameters
CostCenterIdstringRequired

ID of CostCenter

Responses
delete
/b2b/cost-center/{id}
200

Success

No content

Update a Cost Center

patch

This route is used to update a existing Cost Center

Path parameters
CostCenterIdstringRequired

ID of CostCenter

Body
anyOptional
Responses
patch
/b2b/cost-center/{id}
200

Success

No content

List Cost Center

post

Lists all Cost Center and allows filtering them based on a criteria.

Authorizations
sw-context-tokenstringRequired
Responses
post
/b2b/cost-center/list
200Success

No content

Last updated

Was this helpful?