Customers
Update Customer
Updates the specified customer by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged.
put/v1/customers/{customerId}
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v1/customers/{customerId}
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or OAuth 2Implicit: https://api.voucherify.io/v1/oauth/tokenScopes: api, customers
Request body
Response
Returns a customer object if updates were successful.
Example response
{
"summary": {
"orders": {
"last_order_date": "2022-08-30T11:51:08.029Z"
}
},
"referrals": {
"campaigns": [
{
"campaign_id": "camp_rRsfatlwN7unSeUIJDCYedal",
"referrer_id": "cust_sehkNIi8Uq2qQuRqSr7xn4Zi",
"related_object_id": "r_0b9d4cc4aa164dd073",
"date": "2022-08-30T10:19:39.196Z"
}
]
},
"created_at": "2022-08-30T06:32:07.380Z",
"updated_at": "2022-08-31T06:32:07.380Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.