Skip to content

Update the signed-in customer's name

PATCH/store/v1/customers/me

    Update the signed-in customer's name, phone, language and marketing choices.

    Headers

    • X-Customer-Tokenstringrequired

      Customer session token

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Body

    • first_namestring · or null
    • last_namestring · or null
    • phonestring · or null
    • localestring · or null
    • email_marketingboolean · or null
    • sms_marketingboolean · or null
    • whatsapp_marketingboolean · or null

    Returns

    200 The updated customer.

    Errors

    • 401unauthenticatedNo valid customer session.
    • 422validation_failedValidation failed.