Cập nhật kho hàng

/warehouses

PUT

Query Parameters

NameTypeDescription

merchant_token

string

Token do người dùng tự tạo trong hệ thống quản lý

Headers

NameTypeDescription

Accept

string

application/json

Content-Type

string

application/json

Request Body

NameTypeDescription

code

string

Mã kho hàng

name

string

Tên kho

street

string

Địa chỉ kho

ward_code

string

Mã phường xã

district_code

string

Mã quận huyện

province_code

string

Mã tỉnh thành

country_code

string

Mã quốc gia Defaults to 'VN'.

{
    "code": "success",
    "message": "Thành công",
    "data": {
        "code": "WH0000000003",
        "name": "Kho hàng 11",
        "email": "user@example.com",
        "phone": "0987654321",
        "street": "33 Phạm Văn Đồng",
        "ward_code": "13030",
        "district_code": "1290",
        "province_code": "10",
        "country_code": "VN"
    }
}

Last updated