beehexa integrationsidebar
beehexa logo

We Build HexaSync Integration Platform for Connecting ERP, POS, CRM, Accounting, and eCommerce Applications to Automate Business Processes

Shopify API - Update order information using Postman

Shopify API 2024: Update order information using Postman

Updating order information using Postman in Shopify API is necessary for any business because, during the purchase process, customers sometimes mistype order information such as shipping address, phone number, and email address. Therefore, the shop owner needs to update order information to ensure that the order is delivered quickly to the right customer.

In addition to entering the wrong information, customers who signed in to the Shopify store when making a purchase may not want to have their order shipped to the address saved in their account and want to change the information after creating an order. 

The above is why the owner needs to update order information in Shopify API. Today, Beehexa will show how to update order information, including email address, phone number, and shipping address. 

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

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. 

      • After creating an app, you must assign “Orders” scopes to the admin API scopes. 

      • Remember the Admin API access token and the API key to update order information in the Postman. 

    To make those calls, you need to determine the order_id of the order you want to update information. 

        • In the admin dashboard. Go to the orders.

        • Then, click on order you want to change information.

        • Finally, copy the order_id in the URL. 

      Example: The order_id = 4358392250431

      Before updating the order information, please review the current order information for this product.

      Before updating order information

      Take the first call, updating the order’s email address using Postman in Shopify API.

      Update an order’s email address using Postman

      You need to follow the process below when changing an order’s email address in Shopify API. 

          • Login to your Postman and create a new workspace

          • Then create a new PUT with this URL:

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

            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 {orders/order_id}:

          https://ed86d512a2c95387ffa25f67074a222b:[email protected]/admin/api/2021-10/orders/4358392250431.json

              • Paste the URL above.

            update order's email address

            In the body section, enter the code. 

            Payload: 

            {
                "order": {
                    "id": 4358392250431,
                    "email": "[email protected]"
                }
            }

            body_update order's email address

            Then click on send

            {
                "order": {
                    "id": 4358392250431,
                    "admin_graphql_api_id": "gid://shopify/Order/4358392250431",
                    "app_id": 580111,
                    "browser_ip": "117.2.168.124",
                    "buyer_accepts_marketing": false,
                    "cancel_reason": null,
                    "cancelled_at": null,
                    "cart_token": null,
                    "checkout_id": 26888172994623,
                    "checkout_token": "bb98b67dd05ad6fefed905b28204bce8",
                    "client_details": {
                        "accept_language": "vi-VN,vi;q=0.9",
                        "browser_height": 754,
                        "browser_ip": "117.2.168.124",
                        "browser_width": 1519,
                        "session_hash": null,
                        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
                    },
                    "closed_at": null,
                    "confirmed": true,
                    "contact_email": "[email protected]",
                    "created_at": "2022-03-15T11:33:36+09:00",
                    "currency": "AUD",
                    "current_subtotal_price": "609.07",
                    "current_subtotal_price_set": {
                        "shop_money": {
                            "amount": "609.07",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "10044000",
                            "currency_code": "VND"
                        }
                    },
                    "current_total_discounts": "0.00",
                    "current_total_discounts_set": {
                        "shop_money": {
                            "amount": "0.00",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "0",
                            "currency_code": "VND"
                        }
                    },
                    "current_total_duties_set": null,
                    "current_total_price": "629.38",
                    "current_total_price_set": {
                        "shop_money": {
                            "amount": "629.38",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "10379000",
                            "currency_code": "VND"
                        }
                    },
                    "current_total_tax": "0.00",
                    "current_total_tax_set": {
                        "shop_money": {
                            "amount": "0.00",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "0",
                            "currency_code": "VND"
                        }
                    },
                    "customer_locale": "en",
                    "device_id": null,
                    "discount_codes": [],
                    "email": "[email protected]",
                    "estimated_taxes": false,
                    "financial_status": "authorized",
                    "fulfillment_status": null,
                    "gateway": "bogus",
                    "landing_site": "/wallets/checkouts.json",
                    "landing_site_ref": null,
                    "location_id": null,
                    "name": "#1279",
                    "note": null,
                    "note_attributes": [],
                    "number": 279,
                    "order_number": 1279,
                    "order_status_url": "https://hexasync.myshopify.com/25322618943/orders/cb057b74e0e61ca97cc5df15c80da55a/authenticate?key=63d95497b7c80a872f5ecac7e90dd5a3",
                    "original_total_duties_set": null,
                    "payment_gateway_names": [
                        "bogus"
                    ],
                    "phone": null,
                    "presentment_currency": "VND",
                    "processed_at": "2022-03-15T11:33:34+09:00",
                    "processing_method": "direct",
                    "reference": null,
                    "referring_site": "https://hexasync.myshopify.com/products/caravan-canopy-recliner",
                    "source_identifier": null,
                    "source_name": "web",
                    "source_url": null,
                    "subtotal_price": "609.07",
                    "subtotal_price_set": {
                        "shop_money": {
                            "amount": "609.07",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "10044000",
                            "currency_code": "VND"
                        }
                    },
                    "tags": "",
                    "tax_lines": [],
                    "taxes_included": false,
                    "test": true,
                    "token": "cb057b74e0e61ca97cc5df15c80da55a",
                    "total_discounts": "0.00",
                    "total_discounts_set": {
                        "shop_money": {
                            "amount": "0.00",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "0",
                            "currency_code": "VND"
                        }
                    },
                    "total_line_items_price": "609.07",
                    "total_line_items_price_set": {
                        "shop_money": {
                            "amount": "609.07",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "10044000",
                            "currency_code": "VND"
                        }
                    },
                    "total_outstanding": "0.00",
                    "total_price": "629.38",
                    "total_price_set": {
                        "shop_money": {
                            "amount": "629.38",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "10379000",
                            "currency_code": "VND"
                        }
                    },
                    "total_price_usd": "459.28",
                    "total_shipping_price_set": {
                        "shop_money": {
                            "amount": "20.31",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "335000",
                            "currency_code": "VND"
                        }
                    },
                    "total_tax": "0.00",
                    "total_tax_set": {
                        "shop_money": {
                            "amount": "0.00",
                            "currency_code": "AUD"
                        },
                        "presentment_money": {
                            "amount": "0",
                            "currency_code": "VND"
                        }
                    },
                    "total_tip_received": "0.00",
                    "total_weight": 6000,
                    "updated_at": "2022-03-15T11:39:56+09:00",
                    "user_id": null,
                    "billing_address": {
                        "first_name": "Yushin",
                        "address1": "1921 Washington Street",
                        "phone": "13613865113",
                        "city": "Corpus Christi",
                        "zip": "78476",
                        "province": "Texas",
                        "country": "United States",
                        "last_name": "Lam",
                        "address2": "",
                        "company": "Beehexa",
                        "latitude": null,
                        "longitude": null,
                        "name": "Yushin Lam",
                        "country_code": "US",
                        "province_code": "TX"
                    },
                    "customer": {
                        "id": 5484387270719,
                        "email": "[email protected]",
                        "accepts_marketing": false,
                        "created_at": "2021-11-08T18:13:34+09:00",
                        "updated_at": "2022-03-15T11:33:36+09:00",
                        "first_name": "Hoai",
                        "last_name": "Lam",
                        "orders_count": 8,
                        "state": "enabled",
                        "total_spent": "230552.30",
                        "last_order_id": 4341526331455,
                        "note": null,
                        "verified_email": false,
                        "multipass_identifier": null,
                        "tax_exempt": false,
                        "phone": null,
                        "tags": "",
                        "last_order_name": "#1247",
                        "currency": "AUD",
                        "accepts_marketing_updated_at": "2021-11-08T18:13:35+09:00",
                        "marketing_opt_in_level": null,
                        "tax_exemptions": [],
                        "sms_marketing_consent": null,
                        "admin_graphql_api_id": "gid://shopify/Customer/5484387270719",
                        "default_address": {
                            "id": 6947645325375,
                            "customer_id": 5484387270719,
                            "first_name": "Yushin",
                            "last_name": "Lam",
                            "company": "Beehexa",
                            "address1": "1921 Washington Street",
                            "address2": "",
                            "city": "Corpus Christi",
                            "province": "Texas",
                            "country": "United States",
                            "zip": "78476",
                            "phone": "13613865113",
                            "name": "Yushin Lam",
                            "province_code": "TX",
                            "country_code": "US",
                            "country_name": "United States",
                            "default": true
                        }
                    },
                    "discount_applications": [],
                    "fulfillments": [],
                    "line_items": [
                        {
                            "id": 11097762529343,
                            "admin_graphql_api_id": "gid://shopify/LineItem/11097762529343",
                            "fulfillable_quantity": 1,
                            "fulfillment_service": "manual",
                            "fulfillment_status": null,
                            "gift_card": false,
                            "grams": 6000,
                            "name": "Caravan Canopy Recliner",
                            "origin_location": {
                                "id": 3140898455615,
                                "country_code": "VN",
                                "province_code": "",
                                "name": "Hexasync Demo Storefront",
                                "address1": "428 Dien Bien Phu Ward 11 District 10",
                                "address2": "",
                                "city": "Ho Chi Minh City",
                                "zip": "700000"
                            },
                            "price": "609.07",
                            "price_set": {
                                "shop_money": {
                                    "amount": "609.07",
                                    "currency_code": "AUD"
                                },
                                "presentment_money": {
                                    "amount": "10044000",
                                    "currency_code": "VND"
                                }
                            },
                            "product_exists": true,
                            "product_id": 4356042326079,
                            "properties": [],
                            "quantity": 1,
                            "requires_shipping": true,
                            "sku": "CONCHAIR1",
                            "taxable": false,
                            "title": "Caravan Canopy Recliner",
                            "total_discount": "0.00",
                            "total_discount_set": {
                                "shop_money": {
                                    "amount": "0.00",
                                    "currency_code": "AUD"
                                },
                                "presentment_money": {
                                    "amount": "0",
                                    "currency_code": "VND"
                                }
                            },
                            "variant_id": 31179494621247,
                            "variant_inventory_management": "shopify",
                            "variant_title": "",
                            "vendor": "hexasync",
                            "tax_lines": [],
                            "duties": [],
                            "discount_allocations": []
                        }
                    ],
                    "payment_details": {
                        "credit_card_bin": "1",
                        "avs_result_code": null,
                        "cvv_result_code": null,
                        "credit_card_number": "•••• •••• •••• 1",
                        "credit_card_company": "Bogus"
                    },
                    "payment_terms": null,
                    "refunds": [],
                    "shipping_address": {
                        "first_name": "Yushin",
                        "address1": "1921 Washington Street",
                        "phone": "13613865113",
                        "city": "Corpus Christi",
                        "zip": "78476",
                        "province": "Texas",
                        "country": "United States",
                        "last_name": "Lam",
                        "address2": "",
                        "company": "Beehexa",
                        "latitude": null,
                        "longitude": null,
                        "name": "Yushin Lam",
                        "country_code": "US",
                        "province_code": "TX"
                    },
                    "shipping_lines": [
                        {
                            "id": 3694058963007,
                            "carrier_identifier": null,
                            "code": "Standard International",
                            "delivery_category": null,
                            "discounted_price": "20.31",
                            "discounted_price_set": {
                                "shop_money": {
                                    "amount": "20.31",
                                    "currency_code": "AUD"
                                },
                                "presentment_money": {
                                    "amount": "335000",
                                    "currency_code": "VND"
                                }
                            },
                            "phone": null,
                            "price": "20.31",
                            "price_set": {
                                "shop_money": {
                                    "amount": "20.31",
                                    "currency_code": "AUD"
                                },
                                "presentment_money": {
                                    "amount": "335000",
                                    "currency_code": "VND"
                                }
                            },
                            "requested_fulfillment_service_id": null,
                            "source": "shopify",
                            "title": "Standard International",
                            "tax_lines": [],
                            "discount_allocations": []
                        }
                    ]
                }
            }
            

            response_update order's email address

            By now, take the second call, updating the order’s phone number using Postman in Shopify API.

            Shopify Connector and Profile arrow Copper
            Shopify Copper Integration
            Shopify Connector and Profile arrow Pipedrive
            Shopify Pipedrive Integration
            Shopify Connector and Profile arrow BigCommerce
            Shopify Bigcommerce Integration

            Update an order’s phone number using Postman

            The customer’s phone number for receiving SMS notifications. It also helps the delivery process of the carrier to be accurate and fast. After making the call, the old phone number does not change. The phone number is updated and will be added to the contact information.

            By now, following this process to update the order’s phone number using Postman in Shopify API. 

               

                • Login to your Postman and create a new workspace

                • Create a new PUT with this URL:

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

                 

                  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 {orders/order_id}:

                https://ed86d512a2c95387ffa25f67074a222b:[email protected]/admin/api/2021-10/orders/4358392250431.json

                   

                    • Paste the URL above.

                  update order's phone number

                  In the body section, enter the code

                  Payload:

                  {
                      "order": {
                          "id": 4358392250431,
                          "phone": "+15145556677"
                      }
                  }
                  

                  body_update order's email address

                  Then click on send

                  Response: The API will return the data like this. 

                  {
                      "order": {
                          "id": 4358392250431,
                          "admin_graphql_api_id": "gid://shopify/Order/4358392250431",
                          "app_id": 580111,
                          "browser_ip": "117.2.168.124",
                          "buyer_accepts_marketing": false,
                          "cancel_reason": null,
                          "cancelled_at": null,
                          "cart_token": null,
                          "checkout_id": 26888172994623,
                          "checkout_token": "bb98b67dd05ad6fefed905b28204bce8",
                          "client_details": {
                              "accept_language": "vi-VN,vi;q=0.9",
                              "browser_height": 754,
                              "browser_ip": "117.2.168.124",
                              "browser_width": 1519,
                              "session_hash": null,
                              "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
                          },
                          "closed_at": null,
                          "confirmed": true,
                          "contact_email": "[email protected]",
                          "created_at": "2022-03-15T11:33:36+09:00",
                          "currency": "AUD",
                          "current_subtotal_price": "609.07",
                          "current_subtotal_price_set": {
                              "shop_money": {
                                  "amount": "609.07",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "10044000",
                                  "currency_code": "VND"
                              }
                          },
                          "current_total_discounts": "0.00",
                          "current_total_discounts_set": {
                              "shop_money": {
                                  "amount": "0.00",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "0",
                                  "currency_code": "VND"
                              }
                          },
                          "current_total_duties_set": null,
                          "current_total_price": "629.38",
                          "current_total_price_set": {
                              "shop_money": {
                                  "amount": "629.38",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "10379000",
                                  "currency_code": "VND"
                              }
                          },
                          "current_total_tax": "0.00",
                          "current_total_tax_set": {
                              "shop_money": {
                                  "amount": "0.00",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "0",
                                  "currency_code": "VND"
                              }
                          },
                          "customer_locale": "en",
                          "device_id": null,
                          "discount_codes": [],
                          "email": "[email protected]",
                          "estimated_taxes": false,
                          "financial_status": "authorized",
                          "fulfillment_status": null,
                          "gateway": "bogus",
                          "landing_site": "/wallets/checkouts.json",
                          "landing_site_ref": null,
                          "location_id": null,
                          "name": "#1279",
                          "note": null,
                          "note_attributes": [],
                          "number": 279,
                          "order_number": 1279,
                          "order_status_url": "https://hexasync.myshopify.com/25322618943/orders/cb057b74e0e61ca97cc5df15c80da55a/authenticate?key=63d95497b7c80a872f5ecac7e90dd5a3",
                          "original_total_duties_set": null,
                          "payment_gateway_names": [
                              "bogus"
                          ],
                          "phone": "+15145556677",
                          "presentment_currency": "VND",
                          "processed_at": "2022-03-15T11:33:34+09:00",
                          "processing_method": "direct",
                          "reference": null,
                          "referring_site": "https://hexasync.myshopify.com/products/caravan-canopy-recliner",
                          "source_identifier": null,
                          "source_name": "web",
                          "source_url": null,
                          "subtotal_price": "609.07",
                          "subtotal_price_set": {
                              "shop_money": {
                                  "amount": "609.07",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "10044000",
                                  "currency_code": "VND"
                              }
                          },
                          "tags": "",
                          "tax_lines": [],
                          "taxes_included": false,
                          "test": true,
                          "token": "cb057b74e0e61ca97cc5df15c80da55a",
                          "total_discounts": "0.00",
                          "total_discounts_set": {
                              "shop_money": {
                                  "amount": "0.00",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "0",
                                  "currency_code": "VND"
                              }
                          },
                          "total_line_items_price": "609.07",
                          "total_line_items_price_set": {
                              "shop_money": {
                                  "amount": "609.07",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "10044000",
                                  "currency_code": "VND"
                              }
                          },
                          "total_outstanding": "0.00",
                          "total_price": "629.38",
                          "total_price_set": {
                              "shop_money": {
                                  "amount": "629.38",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "10379000",
                                  "currency_code": "VND"
                              }
                          },
                          "total_price_usd": "459.28",
                          "total_shipping_price_set": {
                              "shop_money": {
                                  "amount": "20.31",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "335000",
                                  "currency_code": "VND"
                              }
                          },
                          "total_tax": "0.00",
                          "total_tax_set": {
                              "shop_money": {
                                  "amount": "0.00",
                                  "currency_code": "AUD"
                              },
                              "presentment_money": {
                                  "amount": "0",
                                  "currency_code": "VND"
                              }
                          },
                          "total_tip_received": "0.00",
                          "total_weight": 6000,
                          "updated_at": "2022-03-15T11:41:10+09:00",
                          "user_id": null,
                          "billing_address": {
                              "first_name": "Yushin",
                              "address1": "1921 Washington Street",
                              "phone": "13613865113",
                              "city": "Corpus Christi",
                              "zip": "78476",
                              "province": "Texas",
                              "country": "United States",
                              "last_name": "Lam",
                              "address2": "",
                              "company": "Beehexa",
                              "latitude": null,
                              "longitude": null,
                              "name": "Yushin Lam",
                              "country_code": "US",
                              "province_code": "TX"
                          },
                          "customer": {
                              "id": 5484387270719,
                              "email": "[email protected]",
                              "accepts_marketing": false,
                              "created_at": "2021-11-08T18:13:34+09:00",
                              "updated_at": "2022-03-15T11:33:36+09:00",
                              "first_name": "Hoai",
                              "last_name": "Lam",
                              "orders_count": 8,
                              "state": "enabled",
                              "total_spent": "230552.30",
                              "last_order_id": 4341526331455,
                              "note": null,
                              "verified_email": false,
                              "multipass_identifier": null,
                              "tax_exempt": false,
                              "phone": null,
                              "tags": "",
                              "last_order_name": "#1247",
                              "currency": "AUD",
                              "accepts_marketing_updated_at": "2021-11-08T18:13:35+09:00",
                              "marketing_opt_in_level": null,
                              "tax_exemptions": [],
                              "sms_marketing_consent": null,
                              "admin_graphql_api_id": "gid://shopify/Customer/5484387270719",
                              "default_address": {
                                  "id": 6947645325375,
                                  "customer_id": 5484387270719,
                                  "first_name": "Yushin",
                                  "last_name": "Lam",
                                  "company": "Beehexa",
                                  "address1": "1921 Washington Street",
                                  "address2": "",
                                  "city": "Corpus Christi",
                                  "province": "Texas",
                                  "country": "United States",
                                  "zip": "78476",
                                  "phone": "13613865113",
                                  "name": "Yushin Lam",
                                  "province_code": "TX",
                                  "country_code": "US",
                                  "country_name": "United States",
                                  "default": true
                              }
                          },
                          "discount_applications": [],
                          "fulfillments": [],
                          "line_items": [
                              {
                                  "id": 11097762529343,
                                  "admin_graphql_api_id": "gid://shopify/LineItem/11097762529343",
                                  "fulfillable_quantity": 1,
                                  "fulfillment_service": "manual",
                                  "fulfillment_status": null,
                                  "gift_card": false,
                                  "grams": 6000,
                                  "name": "Caravan Canopy Recliner",
                                  "origin_location": {
                                      "id": 3140898455615,
                                      "country_code": "VN",
                                      "province_code": "",
                                      "name": "Hexasync Demo Storefront",
                                      "address1": "428 Dien Bien Phu Ward 11 District 10",
                                      "address2": "",
                                      "city": "Ho Chi Minh City",
                                      "zip": "700000"
                                  },
                                  "price": "609.07",
                                  "price_set": {
                                      "shop_money": {
                                          "amount": "609.07",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "10044000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "product_exists": true,
                                  "product_id": 4356042326079,
                                  "properties": [],
                                  "quantity": 1,
                                  "requires_shipping": true,
                                  "sku": "CONCHAIR1",
                                  "taxable": false,
                                  "title": "Caravan Canopy Recliner",
                                  "total_discount": "0.00",
                                  "total_discount_set": {
                                      "shop_money": {
                                          "amount": "0.00",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "0",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "variant_id": 31179494621247,
                                  "variant_inventory_management": "shopify",
                                  "variant_title": "",
                                  "vendor": "hexasync",
                                  "tax_lines": [],
                                  "duties": [],
                                  "discount_allocations": []
                              }
                          ],
                          "payment_details": {
                              "credit_card_bin": "1",
                              "avs_result_code": null,
                              "cvv_result_code": null,
                              "credit_card_number": "•••• •••• •••• 1",
                              "credit_card_company": "Bogus"
                          },
                          "payment_terms": null,
                          "refunds": [],
                          "shipping_address": {
                              "first_name": "Yushin",
                              "address1": "1921 Washington Street",
                              "phone": "13613865113",
                              "city": "Corpus Christi",
                              "zip": "78476",
                              "province": "Texas",
                              "country": "United States",
                              "last_name": "Lam",
                              "address2": "",
                              "company": "Beehexa",
                              "latitude": null,
                              "longitude": null,
                              "name": "Yushin Lam",
                              "country_code": "US",
                              "province_code": "TX"
                          },
                          "shipping_lines": [
                              {
                                  "id": 3694058963007,
                                  "carrier_identifier": null,
                                  "code": "Standard International",
                                  "delivery_category": null,
                                  "discounted_price": "20.31",
                                  "discounted_price_set": {
                                      "shop_money": {
                                          "amount": "20.31",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "335000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "phone": null,
                                  "price": "20.31",
                                  "price_set": {
                                      "shop_money": {
                                          "amount": "20.31",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "335000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "requested_fulfillment_service_id": null,
                                  "source": "shopify",
                                  "title": "Standard International",
                                  "tax_lines": [],
                                  "discount_allocations": []
                              }
                          ]
                      }
                  }
                  

                  response_update order's email address

                  Now, take the final call, updating the shipping address of an order using Postman in Shopify API. 

                  Update an order’s shipping address using Postman

                  Note:

                     

                      • The shipping address is optional and not forced on orders that do not require shipping.

                      • After updating the shipping address of the order, the billing address will be kept the same as the old shipping address if the customer chooses the same billing address as the shipping address at checkout.

                    Let’s follow the process below to update the order’s shipping address using Postman in Shopify API. 

                       

                        • Login to your Postman and create a new workspace

                        • Create a new PUT with this URL:

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

                         

                          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 {orders/order_id}:

                        https://ed86d512a2c95387ffa25f67074a222b:[email protected]/admin/api/2021-10/orders/4358392250431.json

                           

                            • Paste the URL above.

                          update order's shipping address

                          In the body section, enter the code

                          Payload: 

                          {
                              "order": {
                                  "Id": 4358392250431,
                                  "shipping_address": {
                                      "address1": "123 Ship Street",
                                      "city": "Shipsville"
                                  }
                              }
                          }
                          

                          body_update order's shipping address

                          Then click on send

                          Response: The API will return the data like this. 

                          {
                              "order": {
                                  "id": 4358392250431,
                                  "admin_graphql_api_id": "gid://shopify/Order/4358392250431",
                                  "app_id": 580111,
                                  "browser_ip": "117.2.168.124",
                                  "buyer_accepts_marketing": false,
                                  "cancel_reason": null,
                                  "cancelled_at": null,
                                  "cart_token": null,
                                  "checkout_id": 26888172994623,
                                  "checkout_token": "bb98b67dd05ad6fefed905b28204bce8",
                                  "client_details": {
                                      "accept_language": "vi-VN,vi;q=0.9",
                                      "browser_height": 754,
                                      "browser_ip": "117.2.168.124",
                                      "browser_width": 1519,
                                      "session_hash": null,
                                      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
                                  },
                                  "closed_at": null,
                                  "confirmed": true,
                                  "contact_email": "[email protected]",
                                  "created_at": "2022-03-15T11:33:36+09:00",
                                  "currency": "AUD",
                                  "current_subtotal_price": "609.07",
                                  "current_subtotal_price_set": {
                                      "shop_money": {
                                          "amount": "609.07",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "10044000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "current_total_discounts": "0.00",
                                  "current_total_discounts_set": {
                                      "shop_money": {
                                          "amount": "0.00",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "0",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "current_total_duties_set": null,
                                  "current_total_price": "629.38",
                                  "current_total_price_set": {
                                      "shop_money": {
                                          "amount": "629.38",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "10379000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "current_total_tax": "0.00",
                                  "current_total_tax_set": {
                                      "shop_money": {
                                          "amount": "0.00",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "0",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "customer_locale": "en",
                                  "device_id": null,
                                  "discount_codes": [],
                                  "email": "[email protected]",
                                  "estimated_taxes": false,
                                  "financial_status": "authorized",
                                  "fulfillment_status": null,
                                  "gateway": "bogus",
                                  "landing_site": "/wallets/checkouts.json",
                                  "landing_site_ref": null,
                                  "location_id": null,
                                  "name": "#1279",
                                  "note": null,
                                  "note_attributes": [],
                                  "number": 279,
                                  "order_number": 1279,
                                  "order_status_url": "https://hexasync.myshopify.com/25322618943/orders/cb057b74e0e61ca97cc5df15c80da55a/authenticate?key=63d95497b7c80a872f5ecac7e90dd5a3",
                                  "original_total_duties_set": null,
                                  "payment_gateway_names": [
                                      "bogus"
                                  ],
                                  "phone": "+15145556677",
                                  "presentment_currency": "VND",
                                  "processed_at": "2022-03-15T11:33:34+09:00",
                                  "processing_method": "direct",
                                  "reference": null,
                                  "referring_site": "https://hexasync.myshopify.com/products/caravan-canopy-recliner",
                                  "source_identifier": null,
                                  "source_name": "web",
                                  "source_url": null,
                                  "subtotal_price": "609.07",
                                  "subtotal_price_set": {
                                      "shop_money": {
                                          "amount": "609.07",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "10044000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "tags": "",
                                  "tax_lines": [],
                                  "taxes_included": false,
                                  "test": true,
                                  "token": "cb057b74e0e61ca97cc5df15c80da55a",
                                  "total_discounts": "0.00",
                                  "total_discounts_set": {
                                      "shop_money": {
                                          "amount": "0.00",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "0",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "total_line_items_price": "609.07",
                                  "total_line_items_price_set": {
                                      "shop_money": {
                                          "amount": "609.07",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "10044000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "total_outstanding": "0.00",
                                  "total_price": "629.38",
                                  "total_price_set": {
                                      "shop_money": {
                                          "amount": "629.38",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "10379000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "total_price_usd": "459.28",
                                  "total_shipping_price_set": {
                                      "shop_money": {
                                          "amount": "20.31",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "335000",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "total_tax": "0.00",
                                  "total_tax_set": {
                                      "shop_money": {
                                          "amount": "0.00",
                                          "currency_code": "AUD"
                                      },
                                      "presentment_money": {
                                          "amount": "0",
                                          "currency_code": "VND"
                                      }
                                  },
                                  "total_tip_received": "0.00",
                                  "total_weight": 6000,
                                  "updated_at": "2022-03-15T11:42:16+09:00",
                                  "user_id": null,
                                  "billing_address": {
                                      "first_name": "Yushin",
                                      "address1": "1921 Washington Street",
                                      "phone": "13613865113",
                                      "city": "Corpus Christi",
                                      "zip": "78476",
                                      "province": "Texas",
                                      "country": "United States",
                                      "last_name": "Lam",
                                      "address2": "",
                                      "company": "Beehexa",
                                      "latitude": null,
                                      "longitude": null,
                                      "name": "Yushin Lam",
                                      "country_code": "US",
                                      "province_code": "TX"
                                  },
                                  "customer": {
                                      "id": 5484387270719,
                                      "email": "[email protected]",
                                      "accepts_marketing": false,
                                      "created_at": "2021-11-08T18:13:34+09:00",
                                      "updated_at": "2022-03-15T11:33:36+09:00",
                                      "first_name": "Hoai",
                                      "last_name": "Lam",
                                      "orders_count": 8,
                                      "state": "enabled",
                                      "total_spent": "230552.30",
                                      "last_order_id": 4341526331455,
                                      "note": null,
                                      "verified_email": false,
                                      "multipass_identifier": null,
                                      "tax_exempt": false,
                                      "phone": null,
                                      "tags": "",
                                      "last_order_name": "#1247",
                                      "currency": "AUD",
                                      "accepts_marketing_updated_at": "2021-11-08T18:13:35+09:00",
                                      "marketing_opt_in_level": null,
                                      "tax_exemptions": [],
                                      "sms_marketing_consent": null,
                                      "admin_graphql_api_id": "gid://shopify/Customer/5484387270719",
                                      "default_address": {
                                          "id": 6947645325375,
                                          "customer_id": 5484387270719,
                                          "first_name": "Yushin",
                                          "last_name": "Lam",
                                          "company": "Beehexa",
                                          "address1": "1921 Washington Street",
                                          "address2": "",
                                          "city": "Corpus Christi",
                                          "province": "Texas",
                                          "country": "United States",
                                          "zip": "78476",
                                          "phone": "13613865113",
                                          "name": "Yushin Lam",
                                          "province_code": "TX",
                                          "country_code": "US",
                                          "country_name": "United States",
                                          "default": true
                                      }
                                  },
                                  "discount_applications": [],
                                  "fulfillments": [],
                                  "line_items": [
                                      {
                                          "id": 11097762529343,
                                          "admin_graphql_api_id": "gid://shopify/LineItem/11097762529343",
                                          "fulfillable_quantity": 1,
                                          "fulfillment_service": "manual",
                                          "fulfillment_status": null,
                                          "gift_card": false,
                                          "grams": 6000,
                                          "name": "Caravan Canopy Recliner",
                                          "origin_location": {
                                              "id": 3140898455615,
                                              "country_code": "VN",
                                              "province_code": "",
                                              "name": "Hexasync Demo Storefront",
                                              "address1": "428 Dien Bien Phu Ward 11 District 10",
                                              "address2": "",
                                              "city": "Ho Chi Minh City",
                                              "zip": "700000"
                                          },
                                          "price": "609.07",
                                          "price_set": {
                                              "shop_money": {
                                                  "amount": "609.07",
                                                  "currency_code": "AUD"
                                              },
                                              "presentment_money": {
                                                  "amount": "10044000",
                                                  "currency_code": "VND"
                                              }
                                          },
                                          "product_exists": true,
                                          "product_id": 4356042326079,
                                          "properties": [],
                                          "quantity": 1,
                                          "requires_shipping": true,
                                          "sku": "CONCHAIR1",
                                          "taxable": false,
                                          "title": "Caravan Canopy Recliner",
                                          "total_discount": "0.00",
                                          "total_discount_set": {
                                              "shop_money": {
                                                  "amount": "0.00",
                                                  "currency_code": "AUD"
                                              },
                                              "presentment_money": {
                                                  "amount": "0",
                                                  "currency_code": "VND"
                                              }
                                          },
                                          "variant_id": 31179494621247,
                                          "variant_inventory_management": "shopify",
                                          "variant_title": "",
                                          "vendor": "hexasync",
                                          "tax_lines": [],
                                          "duties": [],
                                          "discount_allocations": []
                                      }
                                  ],
                                  "payment_details": {
                                      "credit_card_bin": "1",
                                      "avs_result_code": null,
                                      "cvv_result_code": null,
                                      "credit_card_number": "•••• •••• •••• 1",
                                      "credit_card_company": "Bogus"
                                  },
                                  "payment_terms": null,
                                  "refunds": [],
                                  "shipping_address": {
                                      "first_name": "Yushin",
                                      "address1": "123 Ship Street",
                                      "phone": "13613865113",
                                      "city": "Shipsville",
                                      "zip": "78476",
                                      "province": "Texas",
                                      "country": "United States",
                                      "last_name": "Lam",
                                      "address2": "",
                                      "company": "Beehexa",
                                      "latitude": null,
                                      "longitude": null,
                                      "name": "Yushin Lam",
                                      "country_code": "US",
                                      "province_code": "TX"
                                  },
                                  "shipping_lines": [
                                      {
                                          "id": 3694058963007,
                                          "carrier_identifier": null,
                                          "code": "Standard International",
                                          "delivery_category": null,
                                          "discounted_price": "20.31",
                                          "discounted_price_set": {
                                              "shop_money": {
                                                  "amount": "20.31",
                                                  "currency_code": "AUD"
                                              },
                                              "presentment_money": {
                                                  "amount": "335000",
                                                  "currency_code": "VND"
                                              }
                                          },
                                          "phone": null,
                                          "price": "20.31",
                                          "price_set": {
                                              "shop_money": {
                                                  "amount": "20.31",
                                                  "currency_code": "AUD"
                                              },
                                              "presentment_money": {
                                                  "amount": "335000",
                                                  "currency_code": "VND"
                                              }
                                          },
                                          "requested_fulfillment_service_id": null,
                                          "source": "shopify",
                                          "title": "Standard International",
                                          "tax_lines": [],
                                          "discount_allocations": []
                                      }
                                  ]
                              }
                          }
                          

                          Response_update order's shipping address

                          After updating order information, including email address, phone number, and shipping address. We will check the result in the Shopify Admin.

                             

                              • In the admin dashboard. Go to the orders.

                              • Click on order your changed information.

                            After updating order information

                            As you can see, all information about email addresses, phone number, and shipping addresses have been updated successfully.

                            The above are all steps to update order information using Postman with Shopify API. Please comment below or refer to our Shopify API documentation if you have any questions.

                            If you still do not understand the tutorial’s content, you can watch the video below for a more overview.

                            https://www.youtube.com/watch?v=qNqxxn2hioc&t=101s
                            Shopify API – Update order information using Postman

                            Hopefully, you can do it!

                            Table of Contents

                            Ready to integrate and automate at scale ?

                            Learn how HexaSync lets you build enterprise-grade integrations and automations without having to code.

                            Receive Exclusive Productivity Tips Directly in Your Inbox

                            We’ll email you 1-3 times per week—and never share your information.

                            Get started for free

                            You can’t add more hours to the day. Beehexa is the next best thing.