- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Updates contract extras.
Testing
Testing Env
Testing Env
PUT
/contracts/extras
apipagosupdatecontract_extras
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:
id
integer <uint64>
required
name
string
required
key_code
string
required
value
string
required
contract_code
string
required
Example
[
{
"id": 1,
"contract_code": "429ac324f63021c3e763c132483e60c7",
"name": "Extra Field",
"key_code": "extra_field_2",
"value": "d"
},
{
"id": 2,
"contract_code": "429ac324f63021c3e763c132483e60c7",
"name": "Extra Field",
"key_code": "extra_field",
"value": "Z"
}
]
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/extras' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '[
{
"id": 1,
"contract_code": "429ac324f63021c3e763c132483e60c7",
"name": "Extra Field",
"key_code": "extra_field_2",
"value": "d"
},
{
"id": 2,
"contract_code": "429ac324f63021c3e763c132483e60c7",
"name": "Extra Field",
"key_code": "extra_field",
"value": "Z"
}
]'
Responses
🟢200OK
application/json
Body
array of:
id
integer <uint64>
required
name
string
required
key_code
string
required
value
string
required
Example
[
{
"id": 4,
"name": "Contract Dealer",
"key_code": "dealer",
"value": "PSA"
},
{
"id": 5,
"name": "Some Name",
"key_code": "extra_2",
"value": "{'field': 34}"
},
{
"id": 6,
"name": "Extra Field",
"key_code": "extra_field",
"value": "Placeholder"
}
]
Modified at 2024-09-05 18:52:34