OpenApi
  1. Customers
  • Branches
    • List active branches
      GET
    • Get a branch's service tree
      GET
  • Services
    • Get available appointment slots
      GET
  • Tickets
    • Book a ticket (walk-in or appointment)
      POST
    • Fetch a ticket
      GET
    • Cancel a ticket
      POST
    • Reschedule an appointment
      POST
  • Customers
    • Create a customer
      POST
    • List customers (paginated)
      GET
    • Fetch one customer
      GET
    • Update a customer
      PUT
    • Delete a customer
      DELETE
    • List a customer's tickets
      GET
  • Schemas
    • SuccessEnvelope
    • PaginatedEnvelope
    • ErrorEnvelope
    • ValidationErrorEnvelope
    • AuthErrorEnvelope
    • Pagination
    • Branch
    • BranchTreeGroup
    • Service
    • Slot
    • Ticket
    • Customer
    • CustomerWriteRequest
    • CustomerUpdateRequest
    • BookTicketRequest
    • ChangeTimeRequest
  1. Customers

Update a customer

PUT
https://api-dev.skiplino.com/external/v1/customers/update
Updates a customer identified by id or externalId. Only the fields you send are
changed; omitted fields are left untouched.
Authentication — Secret key only (sk_…).
Identification rules
Provide id or externalId to locate the record.
When you locate by id, an externalId in the body is treated as a new value and
must be unique within the company (excluding this record).
When you locate by externalId only, it must reference an existing record.
Behavioural notes
A located-but-then-missing record returns 404 with error: null.
metadata is replaced wholesale when provided (not deep-merged).

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Customer updated successfully.
Bodyapplication/json

🟠404
🟠422
🟠401Unauthorized
🔴500ServerError
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request PUT 'https://api-dev.skiplino.com/external/v1/customers/update' \
--header 'X-Locale;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "id": "9f2c8b7a4e1d6c3f0a5b8e2d7c4f1a9b",
    "name": "Layla A. Hassan",
    "mobile": "+97333778899"
}'
Response Response Example
200 - Success
{
    "message": "Customer updated successfully.",
    "data": {
        "_id": "9f2c8b7a4e1d6c3f0a5b8e2d7c4f1a9b",
        "externalId": "crm-7741",
        "companyId": "cmp_5f3a91",
        "name": "Layla A. Hassan",
        "email": "layla.hassan@example.com",
        "mobile": "+97333778899",
        "metadata": {
            "tier": "gold"
        },
        "createdAt": "2026-06-23T11:00:00.000Z",
        "updatedAt": "2026-06-23T12:30:00.000Z"
    }
}
Previous
Fetch one customer
Next
Delete a customer
Built with