Add Staff to Store by OTP (Affiliate)

API Add Staff to Store by OTP (Affiliate)



Use API add staff is mean manage your store.

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


curl --location --request POST '' \
--header 'Token: 637170d5-942b-11ea-9821-0281a26fb5d4' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "0705099871",
 "otp": "831973", 
 "shop_id": 59037


Field Type Description
token String

Token of Partner

phone String

Phone number of partner's customers

otp String

Get in API OTP . 

shop_id Int

shop id of partner's customers

    "code": 200,
    "message": "Success",
    "data": null
    "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"