- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Update users.
Testing
Testing Env
Testing Env
PUT
/users
apipagosupdateusers12
Request
Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Header Params
Accept
string
optional
Example:
application/json
Body Params application/json
array of:
code
string <uuid>
required
type
enum<string>
write-onlyrequired
Allowed values:
fj
email
string <email>
required
first_name
string
required
last_name
string
required
field_1
string
required
Match pattern:
^[0-9]{6}$
field_2
string
required
Match pattern:
^[0-9]{4}$
field_3
string
required
Match pattern:
^(20|23|24|25|26|27|30)[0-9]{8}[0-9]
password
string
required
profile_photo_url
string
required
birthdate
string
required
birth_country
string
required
nationality
string
required
gender
enum<string>
write-onlyrequired
Allowed values:
MaleFemaleOther
marital_status
enum<string>
write-onlyrequired
Allowed values:
SingleMarriedDivorcedWidowedOther
status_code
enum<integer> <int32>
write-onlyrequired
>= 0
Allowed values:
01
Default:
0
extras
array [object {3}]
required
name
string
required
key_code
string
required
value
string
required
Example
[
{
"code": "219048e4-741e-5240-cee4-4b095ae94cf5",
"type": "j",
"email": "[email protected]",
"first_name": "Enrique",
"last_name": "Jaramillo",
"field_1": "ut",
"field_2": "consequat aliqua",
"field_3": "culpa deserunt",
"password": "magna nulla aliqua ex anim",
"profile_photo_url": "https://loremflickr.com/640/480/city",
"birthdate": "2006-12-06T21:36:32.025Z",
"birth_country": "adipisicing",
"nationality": "in officia ullamco",
"gender": "Other",
"marital_status": "Married",
"status_code": 0
}
]
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.test.apipagos.com/api/v2/apipagos/users' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '[
{
"code": "219048e4-741e-5240-cee4-4b095ae94cf5",
"type": "j",
"email": "[email protected]",
"first_name": "Enrique",
"last_name": "Jaramillo",
"field_1": "ut",
"field_2": "consequat aliqua",
"field_3": "culpa deserunt",
"password": "magna nulla aliqua ex anim",
"profile_photo_url": "https://loremflickr.com/640/480/city",
"birthdate": "2006-12-06T21:36:32.025Z",
"birth_country": "adipisicing",
"nationality": "in officia ullamco",
"gender": "Other",
"marital_status": "Married",
"status_code": 0
}
]'
Responses
🟢200OK
application/json
Body
data
array[object (User) {19}]
optional
Example:
[{"amount":"<string>","batch":"<string>","code":"<string>","config_code":"<string>","created_at":"<dateTime>","description":"<string>","field_1":"<string>","field_2":"<string>","field_3":"<string>","id":"<integer>","integrity_code":"<string>","name":"<string>","refund_date":"<dateTime>","request_date":"<dateTime>","scheduled_date":"<dateTime>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"status_log":"<string>","title":"<string>","token":"<string>","transaction_type":"<string>","updated_at":"<dateTime>","user":{"birth_country":"<string>","birthdate":"<dateTime>","code":"<string>","company_id":"<integer>","correlation_id":"<string>","created_at":"<dateTime>","email":"<string>","email_verified_at":"<dateTime>","field_1":"<string>","field_2":"<string>","field_3":"<string>","first_name":"<string>","gender":"Male","id":"<integer>","last_name":"<string>","marital_status":"Other","nationality":"<string>","profile_photo_url":"<string>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"type":"f","updated_at":"<dateTime>"}},{"amount":"<string>","batch":"<string>","code":"<string>","config_code":"<string>","created_at":"<dateTime>","description":"<string>","field_1":"<string>","field_2":"<string>","field_3":"<string>","id":"<integer>","integrity_code":"<string>","name":"<string>","refund_date":"<dateTime>","request_date":"<dateTime>","scheduled_date":"<dateTime>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"status_log":"<string>","title":"<string>","token":"<string>","transaction_type":"<string>","updated_at":"<dateTime>","user":{"birth_country":"<string>","birthdate":"<dateTime>","code":"<string>","company_id":"<integer>","correlation_id":"<string>","created_at":"<dateTime>","email":"<string>","email_verified_at":"<dateTime>","field_1":"<string>","field_2":"<string>","field_3":"<string>","first_name":"<string>","gender":"Male","id":"<integer>","last_name":"<string>","marital_status":"Widowed","nationality":"<string>","profile_photo_url":"<string>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"type":"f","updated_at":"<dateTime>"}}]
code
string
required
correlation_id
string
required
type
enum<string>
required
Allowed values:
fj
Default:
f
email
string
required
email_verified_at
string <date-time>
required
first_name
string
required
last_name
string
required
field_1
string | null
read-onlyrequired
field_2
string | null
read-onlyrequired
field_3
string | null
read-onlyrequired
profile_photo_url
string
required
birthdate
string <date-time>
required
birth_country
string
required
nationality
string
required
gender
string
required
Match pattern:
(Male)|(Female)|(Other)
marital_status
enum<string>
required
Allowed values:
SingleMarriedDivorcedWidowedOther
status
object (System Status)
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
links
object
optional
first
string
optional
Example:
<string>
last
string
optional
Example:
<string>
next
string
optional
Example:
<string>
prev
string
optional
Example:
<string>
message
string
optional
Example:
<string>
meta
object
optional
current_page
string
optional
Example:
<integer>
from
string
optional
Example:
<integer>
last_page
string
optional
Example:
<integer>
links
array [object {3}]
optional
Example:
[{"active":"<boolean>","label":"<string>","url":"<string>"},{"active":"<boolean>","label":"<string>","url":"<string>"}]
path
string
optional
Example:
<string>
per_page
string
optional
Example:
<integer>
to
string
optional
Example:
<integer>
total
string
optional
Example:
<integer>
Example
{
"data": [
{
"amount": "<string>",
"batch": "<string>",
"code": "<string>",
"config_code": "<string>",
"created_at": "<dateTime>",
"description": "<string>",
"field_1": "<string>",
"field_2": "<string>",
"field_3": "<string>",
"id": "<integer>",
"integrity_code": "<string>",
"name": "<string>",
"refund_date": "<dateTime>",
"request_date": "<dateTime>",
"scheduled_date": "<dateTime>",
"status": {
"action": "none",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"status_log": "<string>",
"title": "<string>",
"token": "<string>",
"transaction_type": "<string>",
"updated_at": "<dateTime>",
"user": {
"birth_country": "<string>",
"birthdate": "<dateTime>",
"code": "<string>",
"company_id": "<integer>",
"correlation_id": "<string>",
"created_at": "<dateTime>",
"email": "<string>",
"email_verified_at": "<dateTime>",
"field_1": "<string>",
"field_2": "<string>",
"field_3": "<string>",
"first_name": "<string>",
"gender": "Male",
"id": "<integer>",
"last_name": "<string>",
"marital_status": "Other",
"nationality": "<string>",
"profile_photo_url": "<string>",
"status": {
"action": "none",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"type": "f",
"updated_at": "<dateTime>"
}
},
{
"amount": "<string>",
"batch": "<string>",
"code": "<string>",
"config_code": "<string>",
"created_at": "<dateTime>",
"description": "<string>",
"field_1": "<string>",
"field_2": "<string>",
"field_3": "<string>",
"id": "<integer>",
"integrity_code": "<string>",
"name": "<string>",
"refund_date": "<dateTime>",
"request_date": "<dateTime>",
"scheduled_date": "<dateTime>",
"status": {
"action": "none",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"status_log": "<string>",
"title": "<string>",
"token": "<string>",
"transaction_type": "<string>",
"updated_at": "<dateTime>",
"user": {
"birth_country": "<string>",
"birthdate": "<dateTime>",
"code": "<string>",
"company_id": "<integer>",
"correlation_id": "<string>",
"created_at": "<dateTime>",
"email": "<string>",
"email_verified_at": "<dateTime>",
"field_1": "<string>",
"field_2": "<string>",
"field_3": "<string>",
"first_name": "<string>",
"gender": "Male",
"id": "<integer>",
"last_name": "<string>",
"marital_status": "Widowed",
"nationality": "<string>",
"profile_photo_url": "<string>",
"status": {
"action": "none",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"type": "f",
"updated_at": "<dateTime>"
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
},
"message": "<string>",
"meta": {
"current_page": "<integer>",
"from": "<integer>",
"last_page": "<integer>",
"links": [
{
"active": "<boolean>",
"label": "<string>",
"url": "<string>"
},
{
"active": "<boolean>",
"label": "<string>",
"url": "<string>"
}
],
"path": "<string>",
"per_page": "<integer>",
"to": "<integer>",
"total": "<integer>"
}
}
Modified at 2024-04-04 20:37:48