API เพิ่มลูกค้า
Create a new customer
POST
/
https://global.nextpoint.me/next-global/nextpoint/api/customer
curl --location
-H "publicKey : <your_publicKey> "
-H "secretKey : <your_secretKey> "
-H "token: <your_token> "
--data '{"phone":"<phone_number_of_customer>"}'
--request POST https://global.nextpoint.me/next-global/nextpoint/api/customer
Headers
Name
Value
publicKey
สามารถคัดลอกได้ที่หน้า เปิดใช้งาน API
secretKey
สามารถคัดลอกได้ที่หน้า เปิดใช้งาน API
token
Bearer <token>
สามารถขอได้จาก API Connect
Body
Name
Type
Description
phone
string
เบอร์โทรศัพท์ของลูกค้า
Response
{
"status": "OK",
"statusCode": 200,
"message": "Create Customer Successfully",
"headers": {
"date": "Wed, 13 Mar 2024 08:32:32 GMT",
"connection": "close"
}
}
Last updated