Update the current customer's address

Partially updates one live address owned by the authenticated buyer. Both `X-Lynkow-Pk` and `Authorization: Bearer <customer-session-token>` are required. `{id}` must be an `addr_` identifier, and the body must contain at least one address field.

PATCH/customers/me/addresses/{id}
Base URLhttps://api.lynkow.com/storefront/{siteId}

Path parameters

id
string
required

Unique identifier

Request body
required

  • city
    string

    1-120 characters

  • phone
    union
  • company
    union
  • address1
    string

    1-255 characters

  • address2
    union
  • lastName
    string

    1-120 characters

  • metadata
    object

    Custom key-value metadata

  • province
    union
  • firstName
    string

    1-120 characters

  • postalCode
    string

    1-32 characters

  • addressName
    union
  • countryCode
    string

    ISO 3166-1 alpha-2 country code

  • isDefaultBilling
    boolean

    Whether this is the customer's default billing address. Boolean

  • isDefaultShipping
    boolean

    Whether this is the customer's default shipping address. Boolean

Feedback

Was this page helpful?