---
title: "Changes to GET /api/customers/{customer_id}/cost_analysis/"
method: GET
path: "/api/customers/{customer_id}/cost_analysis/"
---

# Changes to GET /api/customers/{customer_id}/cost_analysis/

`GET /api/customers/{customer_id}/cost_analysis/`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 50 revisions.

- **2023-03-23** `3fd0601e40c8` — 1 breaking, 2 info
- **2023-03-20** `b5ad57fd7ce9` — 1 warning
- **2023-03-20** `aec53714a5a5` — 1 info
- **2023-01-16** `36b48cae00a3` — 1 breaking

## Changes

- **2023-03-23** `3fd0601e40c8` — 1 breaking, 2 info
  - removed the required property `margin` from the response with the `200` status
  - added the required property `markup` to the response with the `200` status
  - added the required property `profit_margin` to the response with the `200` status
- **2023-03-20** `b5ad57fd7ce9` — 1 warning
  - deleted the `query` request parameter `customer_id`
- **2023-03-20** `aec53714a5a5` — 1 info
  - endpoint added
- **2023-01-16** `36b48cae00a3` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/uselotus/apis/lotus-api/docs/api/customers/:customer_id/cost_analysis/get.md) · [API](https://skmtc.dev/uselotus/apis/lotus-api.md) · [Page](https://skmtc.dev/uselotus/apis/lotus-api/changes/api/customers/:customer_id/cost_analysis/get)
