Updating a Customer
A method for changing the customer's email and phone number.
URL
Method: PUT
- Production:
https://api.pay.kvell.group/v1/customers/{customer_key} - Stage:
https://api.pay.stage.kvell.group/v1/customers/{customer_key}
Request parameters
| Name | Data type | Required | Description |
|---|---|---|---|
email |
string | No | Customer's email address |
phone |
string | No | Customer's phone number |
Request example
Request headers
| Name | Data type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique shop identifier |
X-Signature |
string | Yes | Signature |
The X-Signature signature is generated by concatenating X-Api-Key, customer_key, and secret_key. sha256
is computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.