لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Update the signed-in customer's name
PATCH
/ store/ v1/ customers/ meUpdate the signed-in customer's name, phone, language and marketing choices.
الترويسات
X-Customer-TokenstringمطلوبCustomer session token
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
first_namestring · أو nulllast_namestring · أو nullphonestring · أو nulllocalestring · أو nullemail_marketingboolean · أو nullsms_marketingboolean · أو nullwhatsapp_marketingboolean · أو null
ما يُرجعه
200 The updated customer.
الأخطاء
- 401
unauthenticatedNo valid customer session. - 422
validation_failedValidation failed.