Update the signed-in customer's name
PATCH
/ store/ v1/ customers/ meUpdate the signed-in customer's name, phone, language and marketing choices.
Headers
X-Customer-TokenstringrequiredCustomer session token
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
first_namestring · or nulllast_namestring · or nullphonestring · or nulllocalestring · or nullemail_marketingboolean · or nullsms_marketingboolean · or nullwhatsapp_marketingboolean · or null
Returns
200 The updated customer.
Errors
- 401
unauthenticatedNo valid customer session. - 422
validation_failedValidation failed.