Shopify Customer Addresses API

Manage customer addresses

Operations 2

GET /customers/{customer_id}/addresses.json Shopify Retrieve addresses for a customer #
POST /customers/{customer_id}/addresses.json Shopify Create a customer address #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-customer-addresses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-customer-addresses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Admin REST About Customer Addresses API
  description: The Shopify Admin REST API lets you build apps and integrations that extend and enhance the Shopify admin. Access products, customers, orders, inventory, fulfillment, and more. Endpoints are organized by resource type and versioned by release date.
  version: 2025-01
  contact:
    name: Shopify
    url: https://shopify.dev/docs/api/admin-rest
    email: api@shopify.com
  license:
    name: Shopify API Terms
    url: https://www.shopify.com/legal/api-terms
  x-date: '2026-03-04'
servers:
- url: https://{store}.myshopify.com/admin/api/2025-01
  description: Shopify Admin REST API
  variables:
    store:
      default: my-store
      description: The Shopify store subdomain
security:
- AccessToken: []
tags:
- name: Customer Addresses
  description: Manage customer addresses
paths:
  /customers/{customer_id}/addresses.json:
    get:
      operationId: listCustomerAddresses
      summary: Shopify Retrieve addresses for a customer
      description: Retrieves all addresses for a customer.
      tags:
      - Customer Addresses
      parameters:
      - $ref: '#/components/parameters/CustomerId'
      - name: limit
        in: query
        description: Maximum number of results (max 250, default 50)
        schema:
          type: integer
          default: 50
          maximum: 250
      responses:
        '200':
          description: A list of customer addresses
          content:
            application/json:
              schema:
                type: object
                properties:
                  addresses:
                    type: array
                    items:
                      $ref: '#/components/schemas/Address'
    post:
      operationId: createCustomerAddress
      summary: Shopify Create a customer address
      description: Creates a new address for a customer.
      tags:
      - Customer Addresses
      parameters:
      - $ref: '#/components/parameters/CustomerId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - address
              properties:
                address:
                  $ref: '#/components/schemas/Address'
      responses:
        '201':
          description: The created address
          content:
            application/json:
              schema:
                type: object
                properties:
                  customer_address:
                    $ref: '#/components/schemas/Address'
components:
  parameters:
    CustomerId:
      name: customer_id
      in: path
      required: true
      description: The ID of the customer
      schema:
        type: integer
  schemas:
    Address:
      type: object
      description: A customer mailing address
      properties:
        id:
          type: integer
        customer_id:
          type: integer
        first_name:
          type: string
        last_name:
          type: string
        company:
          type:
          - string
          - 'null'
        address1:
          type: string
        address2:
          type:
          - string
          - 'null'
        city:
          type: string
        province:
          type:
          - string
          - 'null'
        country:
          type: string
        zip:
          type: string
        phone:
          type:
          - string
          - 'null'
        province_code:
          type:
          - string
          - 'null'
        country_code:
          type: string
        country_name:
          type: string
        default:
          type: boolean
          description: Whether this is the default address
  securitySchemes:
    AccessToken:
      type: apiKey
      name: X-Shopify-Access-Token
      in: header
      description: Access token obtained via OAuth