Skip to main content

patchSavehackLaunch

PATCH 

/savehack-launches/:id

Update an existing Savehack Launch

Request

Path Parameters

    id uuidrequired

Body

required

    savehackLaunch

    object

    Partial SavehackLaunch, only containing the fields that should be updated. The savehackLaunch.SavehackLaunch schema is re-used for simplicity here, but required fields can be ignored - all fields are optional.

    oneOf

    id uuid
    stoppedAt RFC3339nullable
    pausedAt RFC3339nullable
    type stringrequired

    Possible values: [AutopilotLaunch]

Responses

Update was successful

Schema

    savehackLaunch

    object

    oneOf

    id uuidrequired

    dream

    object

    required

    id uuid
    targetCents integer

    Represents how much money (in cents or the smallest currency subunit) the User wants to save to complete this Dream.

    type string
    expiresAt RFC3339

    (Optional) DateTime before which the User wants to complete this Dream.

    achievedAt RFC3339

    Represents when the dream was completed

    name string
    balanceCents integer

    Current balance cents for dream

    deletedAt RFC3339

    Represents when the dream was deleted

    imageUrl string
    activeSavehacksCount integer

    Current count of active savehacks

    user

    object

    type stringrequired
    id stringrequired
    externalId string

    groupDream

    object

    (Optional) GroupDream this Dream is a part of.

    type stringrequired
    id stringrequired

    account

    object

    Identifies the account where all money towards this dream is stored

    type stringrequired
    id stringrequired
    externalId string

    savehack

    object

    required

    type stringrequired
    id stringrequired
    stoppedAt RFC3339nullable
    pausedAt RFC3339nullable

    dreamInspiration

    object

    nullable

    (Optional) The Dream Inspiration associated with this launch's Dream.

    id uuidrequired

    translatedName

    object

    [locale] string
    targetCents integer

    Possible values: >= 1 and <= 9223372036854776000

    Default value: 0

    durationSeconds integer
    imageUrl string
    type stringrequired

    Possible values: [DreamInspiration]

    type stringrequired

    Possible values: [AutopilotLaunch]

Loading...