AUTOMATE NOW

Shopify API 2026 – How to create a new address for a customer using Postman

Table of Contents

Today, we will talk about customer addresses and how to create a new address for a customer using Postman in Shopify API. 

Why should you create a new address for a customer?

A new customer’s name, address, and information are automatically added to your customer list when they place an order with your store. When a consumer interacts with your store in any of the following ways, a customer profile is created:

 

But sometimes, the customers buy through the phone or order on Shopify but pick it up at the store. In some cases, the owner usually needs to manually add their information, including an address, to the Shopify Admin. This action helps the business can manage customer information efficiently. Besides, It can help the business deploy the right target audience for Marketing or customer care campaigns in different regions.

Because of the reasons above, today we will mention how to add a new address for a customer using Postman in Shopify API. 

Let’s dive into this subject a little deeper to know more overview.

If this is the first time you make a call in the Postman, you must generate API credentials from the Shopify admin. 

Step 1: Generate API credentials from Shopify Admin

Follow the process of How to build a custom app for Shopify in 2022? To know how to access Shopify API. 

 

Step 2: Get a customer_ID from Shopify Admin.

Before creating a new address for a customer, you should get a customer_ID first.

Because the customer_ID is a required parameter in the call.

Follow the steps below to get a cutsomer_ID:

 

In this article, I will add a new address for a customer named Yushin Lam.

customer_ID

Shopify Connector and Profile arrow BigCommerce

Shopify Bigcommerce Integration

Shopify Connector and Profile arrow Wix eCommerce

Shopify Wix Integration

Shopify Connector and Profile arrow WooCommerce

Shopify Woocommerce Integration

Shopify Connector and Profile arrow Squarespace

Shopify Squarespace Integration

Step 3: Create a new address for a customer using Postman

Now, we are ready to create a new customer address with Shopify APIs. 

 

https://{API_key}:{admin_API_access_token}@{shop}.myshopify.com/admin/api/{api-version}/{resource}.json

 

    1. {API_key} – The API key that you generated.
    1. {admin_API_access_token} – The admin API access token that you generated.
    1. {shop} – The name of your development store.
    1. {api-version} – The supported API version that you want to use.
    1. {resource} – A resource endpoint from the REST Admin API.

Or you can copy this example, remember change {resource} to {customers/customer_ID/addresses}:

https://ed86d512a2c95387ffa25f67074a222b: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@hexasync.myshopify.com/admin/api/2021-10/customers/5661413867583/addresses.json

 

How to create a new  address for a customer

In the body section, enter the code:

{
    "address": {
        "address1": "1 Rue des Carrieres",
        "address2": "Suite 1234",
        "city": "Montreal",
        "company": "Fancy Co.",
        "first_name": "Yushin",
        "last_name": "Lam",
        "phone": "819-555-5555",
        "province": "Quebec",
        "country": "Canada",
        "zip": "G1R 4P5",
        "name": "Samuel de Champlain",
        "province_code": "QC",
        "country_code": "CA",
        "country_name": "Canada"
    }
}

body_create a new address for a customer

Then click Send

Response:

The API will return the data like this.

{
    "customer_address": {
        "id": 7155731529791,
        "customer_id": 5661413867583,
        "first_name": "Samuel",
        "last_name": "de Champlain",
        "company": "Fancy Co.",
        "address1": "1 Rue des Carrieres",
        "address2": "Suite 1234",
        "city": "Montreal",
        "province": "Quebec",
        "country": "Canada",
        "zip": "G1R 4P5",
        "phone": "819-555-5555",
        "name": "Samuel de Champlain",
        "province_code": "QC",
        "country_code": "CA",
        "country_name": "Canada",
        "default": false
    }
}

response_create a new address for a customer

Step 4: Verify the new customer address

After creating the new customer address, we can check it in Shopify Admin.

 

create a new address for a customer using Postman

As you can see, the new address has been added to the customer. 

The above are all steps to create a new address for a customer using Postman with Shopify API.

If you have questions about Shopify customer address API, let us know in the comment below or refer to our Shopify API integration.

These steps will be shown visually in the video below. Click on the video to watch more about the Shopify API tutorial.

Shopify API – How to create a new address for a customer

Hopefully, you can do it!

Last updated: