- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Updates contracts.
Testing
Testing Env
Testing Env
PUT
/contracts
apipagosupdatecontracts12
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
optional
Example:
9b4275202bc70894e7b6c821208f59aa
config_code
string
optional
Example:
test
description
string
optional
Example:
Cae p fsafdas
status_code
string
optional
Example:
1
title
string
optional
Example:
Title
user_code_dst
string
optional
Example:
3bfeafb529cac08a720eb3fa605e964f
user_code_src
string
optional
Example:
17cbde032a7c358b00caac9404db51f8
Example
[
{
"code": "429ac324f63021c3e763c132483e60c7",
"description": "Cae p fsafdas",
"status_code": "1",
"title": "Title",
"user_id_dst": 3728,
"user_id_src": 4911,
"user_email_dst": "[email protected]",
"user_phone_dst": "+541158370200",
"config_code": "cesiones"
}
]
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/contracts' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '[
{
"code": "429ac324f63021c3e763c132483e60c7",
"description": "Cae p fsafdas",
"status_code": "1",
"title": "Title",
"user_id_dst": 3728,
"user_id_src": 4911,
"user_email_dst": "[email protected]",
"user_phone_dst": "+541158370200",
"config_code": "cesiones"
}
]'
Responses
🟢200OK
application/json
Body
array of:
code
string
required
user_code_src
string
required
user_code_dst
string | null
required
user_email_dst
string | null
required
user_phone_dst
string | null
required
status_code
integer
required
>= 0<= 2
config_code
string
required
title
string
required
description
string | null
required
Example
{
"data": [
{
"code": "<string>",
"config_code": "<string>",
"created_at": "<dateTime>",
"description": "<string>",
"expired_at": "<dateTime>",
"id": "<integer>",
"integrity_code": "<string>",
"status": {
"action": "showPopup",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"title": "<string>",
"updated_at": "<dateTime>",
"user_destiny": {
"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": "Other",
"id": "<integer>",
"last_name": "<string>",
"marital_status": "Single",
"nationality": "<string>",
"profile_photo_url": "<string>",
"status": {
"action": "showHelp",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"type": "f",
"updated_at": "<dateTime>"
},
"user_destiny_email": "<string>",
"user_destiny_exists": "<boolean>",
"user_destiny_phone": "<string>",
"user_source": {
"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": "Female",
"id": "<integer>",
"last_name": "<string>",
"marital_status": "Married",
"nationality": "<string>",
"profile_photo_url": "<string>",
"status": {
"action": "stopExecution",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"type": "f",
"updated_at": "<dateTime>"
}
},
{
"code": "<string>",
"config_code": "<string>",
"created_at": "<dateTime>",
"description": "<string>",
"expired_at": "<dateTime>",
"id": "<integer>",
"integrity_code": "<string>",
"status": {
"action": "showHelp",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"title": "<string>",
"updated_at": "<dateTime>",
"user_destiny": {
"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": "Other",
"id": "<integer>",
"last_name": "<string>",
"marital_status": "Single",
"nationality": "<string>",
"profile_photo_url": "<string>",
"status": {
"action": "none",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"type": "f",
"updated_at": "<dateTime>"
},
"user_destiny_email": "<string>",
"user_destiny_exists": "<boolean>",
"user_destiny_phone": "<string>",
"user_source": {
"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": "Female",
"id": "<integer>",
"last_name": "<string>",
"marital_status": "Widowed",
"nationality": "<string>",
"profile_photo_url": "<string>",
"status": {
"action": "showPopup",
"code": "<integer>",
"description": "<string>",
"label": "<string>"
},
"type": "f",
"updated_at": "<dateTime>"
}
}
]
}
Modified at 2024-11-05 18:54:54