Get OTP (Affiliate)

API GET OTP (Affiliate)



Use API get OTP then add Client in Shop.

Caution : The API Add Staff to the Store need to infusion token in header


curl --location --request POST '' \
--header 'Content-Type: application/json' \
--header 'Token: f982a85e-8145-11ea-be3d-06ca571b73c9' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "phone": "0984330700"


Field Type Description
token String Token of partner
phone Int

Phone number of partner's customers

    "code": 200,
    "message": "Success",
    "data": {
    "code": 400,
    "message": "Client have existed in Shop",
    "data": null
    "code_message": "CLIENT_HAVE_EXISTED",
    "code_message_value": "Người dùng đã được thêm vào cửa hàng"