Skip to content

Create my address

POST/store/v1/customers/me/addresses
  • Idempotency-Key supported

Save an address. The first one becomes the default.

Headers

  • X-Customer-Tokenstringrequired

    Customer session token

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

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

Body

  • address1stringrequired
  • citystringrequired
  • country_codestringrequired

    ISO 3166-1 alpha-2.

  • first_namestring · or null
  • last_namestring · or null
  • companystring · or null
  • address2string · or null
  • regionstring · or null

Returns

201 Address saved.

Errors

  • 401unauthenticatedNo valid customer session.
  • 409Address limit reached.
  • 422validation_failedValidation failed.