api

get/api/customers/{customer_id}/cost_analysis/

Path parameters

customer_idstring required

The id provided when creating the customer, we suggest matching with your internal customer id in your backend

Query parameters

end_datestring date required
start_datestring date required

Response

total_costnumber double required
total_revenuenumber double required
profit_marginnumber double required
markupnumber double required

Changes

Changed in 4 of the 50 revisions of this API.213

  • 3fd0601e40c812See the full diff
    • removed the required property margin from the response with the 200 status

      response-required-property-removed

    • added the required property markup to the response with the 200 status

      response-required-property-added

    • added the required property profit_margin to the response with the 200 status

      response-required-property-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • deleted the query request parameter customer_id

      request-parameter-removed

    • endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 145 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog