Update Customer Favorite Technician

Changed on

Adds or removes a favorited technician for a customer. type=ADD is rejected with 409 if the exact user+team pair is already favorited (idempotency is enforced as an error, not a no-op); type=REMOVE returns 400 if the pair isn't currently favorited.

put/customers/{customer_uid}/favorite_technician

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/customers/{customer_uid}/favorite_technician
  • Auth
    API key in header x-api-key

Path parameters

customer_uidstring required

Request body

type'ADD' | 'REMOVE' required

Response

200

typestring
messagestring

Example response

{
  "type": "success",
  "message": "Updated Favourite User for Customer"
}

Changes