Skip to main content
POST
Update User Profile

Endpoint Overview

POST https://api.unibee.dev/merchant/user/update Update User Profile

Authorization

All UniBee Merchant API requests require authentication via API key.

Parameters

Parameters for this endpoint are listed below. The schema is also shown in the Try it panel.

Request body


Request examples

cURL

Sandbox


Response

Success responses return a JSON envelope with code, data, message, redirect, and requestId. code 0 indicates success.

Error handling

When code in the response body is non-zero, check message for details. Use requestId when contacting support.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
LinkedIn
string<*string>

LinkedIn

address
string<*string>

Billing Address

city
string<*string>

city

companyName
string<*string>

Company Name

countryCode
string<*string>

Country Code

countryName
string<*string>

Country Name

email
string<*string>

The email of user, either Email or UserId needed

externalUserId
string<*string>

ExternalUserId

facebook
string<*string>

Facebook

firstName
string<*string>

First name

gatewayId
integer<*int64>

GatewayId

gatewayPaymentType
string<*string>

Gateway Payment Type

language
string<*string>

User Language, en|ru|cn|vi|bp

lastName
string<*string>

Last Name

metadata
object

Metadata,Map

otherSocialInfo
string<*string>

Other Social Info

paymentMethodId
string<*string>

PaymentMethodId of gateway, available for card type gateway, payment automatic will enable if set

phone
string<*string>

Phone

registrationNumber
string<*string>

RegistrationNumber

state
string<string>

State

telegram
string<*string>

Telegram

tiktok
string<*string>

Tiktok

type
integer<*int64>

User type, 1-Individual|2-Business

userId
integer<*int64>

The id of user, either Email or UserId needed

vATNumber
string<*string>

VAT Number

weChat
string<*string>

WeChat

whatsApp
string<*string>

WhatsApp

zipCode
string<*string>

zip_code

Response

200 - application/json
code
integer<int>
data
object
merchantId
integer<int64>
message
string<string>
redirect
string<string>
requestId
string<string>