Danh sách gian hàng

  • /api/ecom/shops: Tính năng này dùng để lấy danh sách gian hàng sàn TMĐT

Request

KeyTypeDescription

page

int

Phân trang (giá trị mặc định là 1)

appId

int

ID sàn TMĐT (8195 = Shopee, 8855 = Tiktok, 8142 = Lazada, 8237 = Sendo, 8238 = Tiki)

Response:

  • JSON decode the response to get the structure:

KeyTypeDescription

code

int

1 = success or 0 = failed

messages

[ ]

is an array of error messages if code = 0

data

[ ]

is an array of shop list

[
    "totalPages" => int,
    "page" => int,
    "shops" => [ // maximum 100 shops per page
        // shop 1
        [
            // see properties in the table below
        ],
        ...
    ]
]
KeyTypeDescription

shopId

string (64)

ID gian hàng trên sàn TMĐT

appId

int

ID sàn TMĐT (8195 = Shopee, 8855 = Tiktok, 8142 = Lazada, 8237 = Sendo, 8238 = Tiki)

shopName

string

Tên gian hàng trên sàn TMĐT

createdAt

int

Ngày tạo gian hàng trên Nhanh.vn (định dạng timestamp)

expiredAt

int

Ngày hết hạn gian hàng trên Nhanh.vn (định dạng timestamp)

Last updated