Customers
Adds a location (job site / address) to a customer.
Requires ManageCustomers and an Idempotency-Key header. Same rules as Customers → Addresses → Add in the app: name, address, city, state and postalCode are required; isMailingAddress: true moves the mailing flag here from the customer's other locations, and a customer's first location is always the mailing address. Attributed to the user who created the API key.
post/api/v1/customers/{id}/locations
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/customers/{id}/locations
- Auth: HTTP bearer
Path parameters
idinteger required
Customer id.
Request body
Response
The new location; Location points at /api/v1/customers/{id}/locations/{locationId}.
Changes
No recorded changes to this operation across all 1 revision of this API.