customerSales $filter

GET {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/customerSales/?tenant={{tenant}}&$filter=customerId eq {{customerId}}

Request Params

KeyDatatypeRequiredDescription
tenantstring
$filterstring

RESPONSES

status: OK

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(3e88d15b-e23c-ee11-be71-6045bdac9d50)/customerSales","value":[{"customerId":"d1bf4969-e23c-ee11-be71-6045bdac9d50","customerNumber":"30000","name":"School of Fine Art","totalSalesAmount":3363.2,"dateFilter_FilterOnly":null}]}