curl --request PATCH \
--url https://api.terminal49.com/v2/parties/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"company_name": "COMPANY NAME"
}
}
}
'{
"data": {
"attributes": {
"company_name": "<string>"
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "party"
},
"links": {
"self": "<string>"
}
}Updates a party
curl --request PATCH \
--url https://api.terminal49.com/v2/parties/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"company_name": "COMPANY NAME"
}
}
}
'{
"data": {
"attributes": {
"company_name": "<string>"
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "party"
},
"links": {
"self": "<string>"
}
}Token YOUR_API_TOKEN
The APIs require authentication to be done using header-based API Key and Secret Authentication.
API key and secret are sent va the Authorization request header.
You send your API key and secret in the following way:
Authorization: Token YOUR_API_KEY
Was this page helpful?