Update user details
Update an existing User’s data and billing details.
Body
Email of the user.
"test@example.com"
User password used for logging in to the Store application. Password must contain at least one special character, one number and one uppercase letter. Password must be between 8 and 72 characters long.
8 - 72
"Password123!"
Username of the user.
1
"test-user"
Internal/custom ID of the user. Used for integration with external systems. If provided, it will be sent in webhook notifications.
1
"abcd-1234-5678-90ab-cdef-1234-5678-90ab"
Payment data of the user. Set automatically during the first payment. Use in case user's customer account in Stripe/Paypal already exists and you want to link it before the first payment.
{
"stripeCustomerId": "cus_QzHuLRwfKfp2WX",
"paypalCustomerId": "KCE4828GQ37LL"
}
Billing details of the User used for the Payments and Invoices.
In order to complete the purchase at least 'countryCode' is required. Also those countries requires providing postalCode: US, CA, UA, IN.
{
"type": "individual",
"countryCode": "US",
"state": "CA",
"firstName": "John",
"lastName": "Doe",
"dialCode": "+1",
"phoneNumber": "1234567890",
"address": "123 Main St",
"addressLine2": "Apt 1",
"city": "San Francisco",
"postalCode": "94101"
}