PATCH/api/partner/users/:userId
Fill in missing fields
Fills in the fields one of your users has not set yet. A field that already has a value is never overwritten, and an address is added only when the user has none. Returns a fresh session and the status the user had before this call.
Path parameters
| Field | Type | Required |
|---|---|---|
| userId | string | yes |
Request body
| Field | Type | Required |
|---|---|---|
| firstName | string or null | no |
| lastName | string or null | no |
| displayName | string or null | no |
| legalName | string or null | no |
| entityType | string or null | no |
| website | string or null | no |
| defaultRole | string or null | no |
| businessDescription | string or null | no |
| averageTransactionSize | number or null | no |
| averageWeeklyTransactions | number or null | no |
| address | <Address> or null | no |
| street | string | yes |
| streetLine2 | string or null | no |
| city | string | yes |
| state | string | yes |
| postalCode | string | yes |
| country | string | yes |