POST
/
v1
/
contracts
/
customerCommits
/
updateEndDate
Update the commit end date
curl --request POST \
  --url https://api.metronome.com/v1/contracts/customerCommits/updateEndDate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "13117714-3f05-48e5-a6e9-a66093f13b4d",
  "commit_id": "6162d87b-e5db-4a33-b7f2-76ce6ead4e85",
  "access_ending_before": "2020-01-01T00:00:00.000Z",
  "invoices_ending_before": "2020-01-01T00:00:00.000Z"
}'
{
  "data": {
    "id": "6162d87b-e5db-4a33-b7f2-76ce6ead4e85"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Update the access or invoice end date of a commit

The body is of type object.

Response

Success

The response is of type object.