Customer API
Create customer
Create a customer, optionally with its locations and their addresses. The response is the full customer record, including the resourceId of the customer and of each location: store them to update the customer later.
Usage notes:
carrier.resourceIdmust be the carrier in thecarrierIdquery parameter.- Customer names and SCACs are unique per carrier, and location names are unique per customer: a duplicate returns 400. Create does not match on
externalLocationId. To find an existing customer, look its name up with List customers, then change it with Update customer. printedNamedefaults toname. Customer and location names cannot contain/(412).ediIdmust be unique across every customer in Cedar;scacmust be a SCAC Cedar already knows.- An address missing
streetLine1,city,stateorzipCode(and notAT_PARTIAL) is rejected with a 500 error. Fix the request rather than retrying it. - Set
usedForBilling: trueon each location you invoice. The first location becomes the default location unless another one hasisDefault: true. - Cedar also creates two user groups for each new customer,
<name> Adminand<name> Operator, shortly after the call returns. Renaming the customer renames them. - A missing permission returns 401.
POST
Authorizations
Body
application/json