Create an address for the current customer

Creates a saved address owned by the authenticated buyer. Both `X-Lynkow-Pk` and `Authorization: Bearer <customer-session-token>` are required. Site and customer identifiers are derived from the authenticated request context and cannot be supplied in the body.

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

Request body
required

  • city
    string
    required

    Required. 1-120 characters

  • phone
    union
  • company
    union
  • address1
    string
    required

    Required. 1-255 characters

  • address2
    union
  • lastName
    string
    required

    Required. 1-120 characters

  • metadata
    object

    Custom key-value metadata

  • province
    union
  • firstName
    string
    required

    Required. 1-120 characters

  • postalCode
    string
    required

    Required. 1-32 characters

  • addressName
    union
  • countryCode
    string
    required

    Required. 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?