Tạo Tag khách hàng

HTTP request

Example Request

code
curl --location 'https://api.service.ladiflow.com/1.0/customer/create-tag' \
--header 'Api-Key: {Api-Key}' \
--header 'Content-Type: application/json' \
--data '{
    "name": "Test"
}'

Tham số header

Tham số Kiểu dữ liệu Bắt buộc Mô tả Api-Key string có API key lấy trên LadiFlow

Tham số Body

Tham số Kiểu dữ liệu Bắt buộc Mô tả name string Tên tag

Example response

code
{
 "data": {
   tag_id: ""
 },
 "message": "Thành công",
 "code": 200
}

Cấu trúc thuộc tính data

Thuộc tínhKiểu dữ liệuMô tả
dataObjectDữ liệu tag
messagestringThông điệp
codenumberMã phản hồi