Skip to main content
PUT
https://app-stage.agdejar.sa
/
tenant
/
v1
/
contracts
/
{id}
curl --request PUT \
  --url /tenant/v1/contracts/6 \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {access_token}' \
  --data '{
    "start_date": "2024-06-07",
    "end_date": "2024-06-07"
  }'

Path Parameters

id
integer
required
The ID of the contract to update

Headers

Accept
string
required
Must be “application/json”

Body

start_date
string
Contract start date (YYYY-MM-DD)
end_date
string
Contract end date (YYYY-MM-DD)
curl --request PUT \
  --url /tenant/v1/contracts/6 \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {access_token}' \
  --data '{
    "start_date": "2024-06-07",
    "end_date": "2024-06-07"
  }'