API ReferenceCustomers
Create a customer, or update the one with this externalId
POST
header
x-kite-signature<token>Base64url Ed25519 signature of timestamp nonce METHOD path?query sha256(body), sent with x-kite-api-key-id, x-kite-timestamp and x-kite-nonce
application/json- body
externalId*stringLength
1 <= length <= 255name?|Length
length <= 255traits?|nullResponse for status 200
application/json- response
id*stringFormat
uuidappId*stringFormat
uuidexternalId*stringname*string|nulltraits*|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X POST 'https://testnet.usekite.site/api/customers' \ -H 'Content-Type: application/json' \ -d '{ "externalId": "string"}'Example Response200
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "externalId": "string", "name": "string", "traits": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}