APIs MyEMS
  • Merchant Api v2.0
  • Changelog
  • Tiếng việt
    • Danh mục địa chính
      • Danh sách tỉnh/thành phố
      • Danh sách quận huyện
      • Danh sách phường/xã
    • Dịch vụ
      • Danh sách dịch vụ
      • Dịch vụ cộng thêm
    • Quản lý bưu gửi
      • Danh sách trạng thái bưu gửi
      • Danh sách bưu gửi
      • Chi tiết bưu gửi
      • Tạo bưu gửi
      • Tạo nhiều bưu gửi
      • Huỷ bưu gửi
    • Quản lý kho hàng
      • Danh sách kho hàng
      • Tạo kho hàng
      • Chi tiết kho hàng
      • Cập nhật kho hàng
    • Quản lý khách hàng
      • Danh sách khách hàng
      • Tạo khách hàng
      • Cập nhật thông tin
      • Xoá khách hàng
      • Thêm tag
      • Gỡ tag
    • Quản lý sản phẩm
      • Danh sách sản phẩm
      • Tạo sản phẩm
      • Cập nhật sản phẩm
    • Thông tin cửa hàng
    • Webhook
  • English
    • List locations
      • List provinces
      • List districts
      • List wards
    • Services
      • Main services
      • Additional services
    • Manage shipment
      • List shipment statuses
      • List shipments
      • Shipment detail
      • Create shipment
      • Create multiple shipments
      • Cancel shipment
    • Manage warehouse
      • List warehouses
      • Create warehouse
      • Warehouse detail
      • Update warehouse
    • Manage customers
      • List customers
      • Create customer
      • Update customer info
      • Delete customer
      • Attach tag to customer
      • Detach tag from customer
    • Manage product
      • List products
      • Create product
      • Update product
    • Merchant info
    • Webhook
Powered by GitBook
On this page
  1. English
  2. Manage customers

Update customer info

/customers

PUT

Query Parameters

Name
Type
Description

merchant_token

string

Token is created in management system.

Headers

Name
Type
Description

Accept

string

application/json

Content-Type

string

application/json

Request Body

Name
Type
Description

code

string

Customer code

name

string

Customer name

phone

string

Customer phone number

email

string

Customer email

note

string

Note

street

string

Customer street

ward_code

string

Customer ward code

district_code

string

Customer district code

province_code

string

Customer province code

country_code

string

Customer country code

{
    "code": "success",
    "message": "Thành công",
    "data": {
        "code": "CM0000000002",
        "name": "Phạm Thị Hà",
        "phone": "01234567832",
        "email": "customer@email.com",
        "note": "Customer note",
        "image": null,
        "address": {
            "name": "Phạm Thị Hà",
            "organization": null,
            "email": "customer@email.com",
            "phone": "01234567832",
            "postal_code": null,
            "country_code": "VN",
            "street": "15 Xuân Đỉnh",
            "ward_code": "13030",
            "province_code": "10",
            "district_code": "1290",
            "full_location": "15 Xuân Đỉnh"
        }
    }
}

PreviousCreate customerNextDelete customer

Last updated 5 years ago