Profile

Change the due date

Any caregiver. Only while expecting: moves the due date (up to 14 days ago to 10 months ahead). Returns 409 once a date of birth is set; the profile is not changed.

post/api/vega/due-date

Request

  • Base URL: https://getmyluna.app
  • URL: https://getmyluna.app/api/vega/due-date
  • Auth: one of:
    • HTTP bearer
    • API key in cookie luna_session

Request body

due_datestring required

YYYY-MM-DD, up to 14 days ago to 10 months ahead.

client_todaystring nullable

Optional: the browser's local date (YYYY-MM-DD), used when within a day of the family's local date.

Example request

{
  "due_date": "2027-03-12"
}

Response

Success

okboolean required
due_datestring required

Example response

{
  "expecting": {
    "due_date": "2027-03-12"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.