Skip to main content

Edit an Eligibility Subscription

PATCH 

/v1/eligibility-subscriptions/:id

Update an Eligibility Subscription's metadata.

Request​

Path Parameters

    id stringrequired

    Id of the Eligibility Subscription.

Body

required

    metadata

    object

    Metadata object that will be merged with current metadata object.

    property name*string

    Max key size is 40 characters. If key matches already existing key, it will override old value

Responses​

Successfully updates Eligibility Subscription's metadata

Schema

    data

    object

    idstring
    Example: eligibilitysubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    organisationIdstringnullable
    Example: organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    organisationNamestringnullable
    partnerIdstring
    configurationIdstring
    validationRequestIdstringnullable
    Example: validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    suggestedActivitySubTags

    object[]

    nullable

  • Array [

  • idstring
    Example: activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring

    SubTag name

    Example: Sport school

    tag

    object

    idstring
    Example: activitytag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring

    Tag name

    Example: Education
    descriptionstringnullable

    Tag description

    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
    descriptionstringnullable

    SubTag description

    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
  • ]

  • statusstring

    Possible values: [live, pending_validation_request, validation_request_failed, pending, cancelled, cannot_define_eligibility]

    Example: live

    results

    object

    eligibilityStatusstringnullable

    Possible values: [pass, fail]

    Example: fail

    confirmedActivitySubTags

    object[]

    nullable

  • Array [

  • idstring
    Example: activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring

    SubTag name

    Example: Sport school

    tag

    object

    idstring
    Example: activitytag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring

    Tag name

    Example: Education
    descriptionstringnullable

    Tag description

    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
    descriptionstringnullable

    SubTag description

    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
  • ]

  • rejectedActivitySubTags

    object[]

    nullable

    Confirmed organisation's activity subtags that are not allowed in partner's configuration

  • Array [

  • idstring
    Example: activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring

    SubTag name

    Example: Sport school

    tag

    object

    idstring
    Example: activitytag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring

    Tag name

    Example: Education
    descriptionstringnullable

    Tag description

    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
    descriptionstringnullable

    SubTag description

    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
  • ]

  • createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
    objectstring
    Example: eligibility_subscription