---
title: "Update program due date"
method: PATCH
path: "/statements-v2/v1/programs/{programId}/due-dates/{programDueDateId}"
tags: ["Due date"]
---

# Update program due date

`PATCH /statements-v2/v1/programs/{programId}/due-dates/{programDueDateId}`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/statements-v2/v1/programs/{programId}/due-dates/{programDueDateId}`
- Auth: HTTP bearer

Update a program due date.

## Path parameters

- `programId` integer, required
- `programDueDateId` integer, required

## Request body

- ProgramDueDateUpdateRequest
  - `active` boolean, required: Is program due date active? <b>Note:</b> If you set `active` from `true` to `false`, this just means that you are no longer able to assign the program due date to an account. Accounts that are already using the program due date continue to use it.
  - `grace_period_days` integer: Number of grace period days. This value overrides the value of the program parameter <b>Number of days before due date to set the closing date of the statement</b> for the specified account. You can change the grace period days for a statement any time before its due date.

## Response `200`

OK - Indicates that the server accepted the request and created the resource.

- TransactionShiftResponseBody: Resource that represents the performed request for transactions shifts
  - `transaction_statement_shift_id` integer: ID of the shift operation performed
  - `desired_cycle_date` string, date: The desired cycle date. This is only present if the shift for the transaction is based on the cycle date. Format is yyyy-mm-dd.
  - `tracking_id` string: Tracking identifier. Must consist of the characters [a-z,A-Z,0-9,-,:] with a range from 1 to 128. If a client clicks the button more than once when sending the command to shift transactions, the Pismo platform could create duplicate requests. The tracking identifier enables the platform to identify duplicates and ignore them.
  - `shifts` ShiftResponseItem[]
    - `transaction_id` integer: Transaction ID
    - `old_statement_id` integer: ID of the source statement
    - `new_statement_id` integer: Indicates the ID of the statement to receive the transaction. This field cannot be present along with `desired_cycle_date`.
    - `desired_cycle_date` string, date: The desired cycle date. This is only present if the shift for the transaction is based on the cycle date. Format is yyyy-mm-dd.

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/pismo/apis/revolving-credit-statements.md) - [All operations](https://skmtc.dev/pismo/apis/revolving-credit-statements/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/revolving-credit-statements/revisions/09f552b0f850?raw)
