Accounts

Change State of Multiple Accounts

Changed on

This API method allows the calling application to modify the State of multiple Accounts in a Wallet

patch/wallet/{walletId}/accounts/state

Request

  • Base URL
    https://wallet.uk.eagleeye.com/2.0
  • URL
    https://wallet.uk.eagleeye.com/2.0/wallet/{walletId}/accounts/state
  • Auth
    API key in header X-EES-AUTH-CLIENT-ID and API key in header X-EES-AUTH-HASH

Path parameters

walletIdstring string required

EES AIR Wallet ID

Request body

accountIdstring string required

The account ID to apply the operation against.

statestring required

The state to set.

Example request

[
  {
    "accountId": 1234,
    "state": "EARNBURN",
    "dates": {
      "start": "2025-04-20T00:00:00+00:00",
      "end": "2025-05-22T00:00:00+00:00"
    }
  },
  {
    "accountId": 1256,
    "state": "EARNBURN",
    "meta": {
      "someKey": "someValue"
    }
  }
]

Response

OK

totalinteger

The total number of Wallet Accounts both successful and unsuccessful.

Example response

{
  "results": [
    {
      "dates": {
        "start": "2017-01-17T13:20:48+00:00",
        "end": "2017-01-17T13:20:48+00:00"
      },
      "relationships": {
        "ENTITLEMENT": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "ENTITLEMENT_OF": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "OBJECTIVE": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "OBJECTIVE_OF": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "PROMOTION": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "PROMOTION_OF": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "BOUNCE_BACK_REWARD": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "BOUNCE_BACK_REWARD_OF": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "COUPON_STAMP_REWARD": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "COUPON_STAMP_REWARD_OF": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        },
        "LOYALTY_POINTS_REWARD_OF": {
          "accountType": [
            {
              "dateCreated": "2017-01-17T13:20:48+00:00"
            }
          ]
        }
      },
      "dateCreated": "2017-01-17T13:20:48+00:00",
      "lastUpdated": "2017-01-17T13:20:48+00:00"
    }
  ],
  "successful": {
    "results": [
      {
        "dates": {
          "start": "2017-01-17T13:20:48+00:00",
          "end": "2017-01-17T13:20:48+00:00"
        },
        "relationships": {
          "ENTITLEMENT": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "ENTITLEMENT_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "OBJECTIVE": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "OBJECTIVE_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "PROMOTION": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "PROMOTION_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "BOUNCE_BACK_REWARD": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "BOUNCE_BACK_REWARD_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "COUPON_STAMP_REWARD": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "COUPON_STAMP_REWARD_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "LOYALTY_POINTS_REWARD_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          }
        },
        "dateCreated": "2017-01-17T13:20:48+00:00",
        "lastUpdated": "2017-01-17T13:20:48+00:00"
      }
    ]
  },
  "failed": {
    "results": [
      {
        "dates": {
          "start": "2017-01-17T13:20:48+00:00",
          "end": "2017-01-17T13:20:48+00:00"
        },
        "relationships": {
          "ENTITLEMENT": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "ENTITLEMENT_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "OBJECTIVE": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "OBJECTIVE_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "PROMOTION": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "PROMOTION_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "BOUNCE_BACK_REWARD": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "BOUNCE_BACK_REWARD_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "COUPON_STAMP_REWARD": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "COUPON_STAMP_REWARD_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          },
          "LOYALTY_POINTS_REWARD_OF": {
            "accountType": [
              {
                "dateCreated": "2017-01-17T13:20:48+00:00"
              }
            ]
          }
        },
        "dateCreated": "2017-01-17T13:20:48+00:00",
        "lastUpdated": "2017-01-17T13:20:48+00:00"
      }
    ]
  }
}

Changes

    • breaking

      added the pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ to the request property //

    • breaking

      added the pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ to the request property //

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property /// became optional for the status

    • breaking

      the /// response's property format changed from date-time to no format for status

    • breaking

      the //// response's property format changed from date-time to no format for status

    • breaking

      the //// response's property format changed from date-time to no format for status

    • breaking

      the /// response's property format changed from date-time to no format for status

    • breaking

      the ///// response's property type changed from object to array for status

    • breaking

      the ///// response's property type changed from object to array for status

    • breaking

      the // response's property format changed from date-time to no format for status

    • breaking

      the /// response's property format changed from date-time to no format for status

    • breaking

      the /// response's property format changed from date-time to no format for status

    • breaking

      the // response's property format changed from date-time to no format for status

    • breaking

      the //// response's property type changed from object to array for status

    • breaking

      the //// response's property type changed from object to array for status

    • breaking

      the /// response's property format changed from date-time to no format for status

    • breaking

      the //// response's property format changed from date-time to no format for status

    • breaking

      the //// response's property format changed from date-time to no format for status

    • breaking

      the /// response's property format changed from date-time to no format for status

    • breaking

      the ///// response's property type changed from object to array for status

    • breaking

      the ///// response's property type changed from object to array for status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      added the new AALR enum value to the //// response property for the response status

    • warning

      added the new AALR enum value to the //// response property for the response status

    • warning

      added the new AALR enum value to the //// response property for the response status

    • warning

      added the new AALR enum value to the //// response property for the response status

    • warning

      added the new CILR enum value to the //// response property for the response status

    • warning

      added the new CILR enum value to the //// response property for the response status

    • warning

      added the new CILR enum value to the //// response property for the response status

    • warning

      added the new CILR enum value to the //// response property for the response status

    • warning

      added the new CLPPR enum value to the //// response property for the response status

    • warning

      added the new CLPPR enum value to the //// response property for the response status

    • warning

      added the new CLPPR enum value to the //// response property for the response status

    • warning

      added the new CLPPR enum value to the //// response property for the response status

    • warning

      added the new CONTINUITY enum value to the /// response property for the response status

    • warning

      added the new CONTINUITY enum value to the // response property for the response status

    • warning

      added the new CONTINUITY enum value to the /// response property for the response status

    • warning

      added the new ELE enum value to the //// response property for the response status

    • warning

      added the new ELE enum value to the //// response property for the response status

    • warning

      added the new ELE enum value to the //// response property for the response status

    • warning

      added the new ELE enum value to the //// response property for the response status

    • warning

      added the new POINTS enum value to the /// response property for the response status

    • warning

      added the new POINTS enum value to the // response property for the response status

    • warning

      added the new POINTS enum value to the /// response property for the response status

    • warning

      added the new QUEST enum value to the /// response property for the response status

    • warning

      added the new QUEST enum value to the // response property for the response status

    • warning

      added the new QUEST enum value to the /// response property for the response status

    • warning

      added the new RF enum value to the //// response property for the response status

    • warning

      added the new RF enum value to the //// response property for the response status

    • warning

      added the new RF enum value to the //// response property for the response status

    • warning

      added the new RF enum value to the //// response property for the response status

    • warning

      added the new RFL enum value to the //// response property for the response status

    • warning

      added the new RFL enum value to the //// response property for the response status

    • warning

      added the new RFL enum value to the //// response property for the response status

    • warning

      added the new RFL enum value to the //// response property for the response status

    • warning

      added the new STAMP_CARD enum value to the /// response property for the response status

    • warning

      added the new STAMP_CARD enum value to the // response property for the response status

    • warning

      added the new STAMP_CARD enum value to the /// response property for the response status

    • warning

      added the new STANDARD_SUBSCRIPTION enum value to the /// response property for the response status

    • warning

      added the new STANDARD_SUBSCRIPTION enum value to the // response property for the response status

    • warning

      added the new STANDARD_SUBSCRIPTION enum value to the /// response property for the response status

    • warning

      added the new SUSPENDED enum value to the /// response property for the response status

    • warning

      added the new SUSPENDED enum value to the // response property for the response status

    • warning

      added the new SUSPENDED enum value to the /// response property for the response status

    • warning

      added the new TBR enum value to the //// response property for the response status

    • warning

      added the new TBR enum value to the //// response property for the response status

    • warning

      added the new TBR enum value to the //// response property for the response status

    • warning

      added the new TBR enum value to the //// response property for the response status

    • warning

      added the new TBS enum value to the //// response property for the response status

    • warning

      added the new TBS enum value to the //// response property for the response status

    • warning

      added the new TBS enum value to the //// response property for the response status

    • warning

      added the new TBS enum value to the //// response property for the response status

    • warning

      added the new WLNF enum value to the //// response property for the response status

    • warning

      added the new WLNF enum value to the //// response property for the response status

    • warning

      added the new WLNF enum value to the //// response property for the response status

    • warning

      added the new WLNF enum value to the //// response property for the response status

    • warning

      added the new WTF enum value to the //// response property for the response status

    • warning

      added the new WTF enum value to the //// response property for the response status

    • warning

      added the new WTF enum value to the //// response property for the response status

    • warning

      added the new WTF enum value to the //// response property for the response status

    • warning

      added the new WTNF enum value to the //// response property for the response status

    • warning

      added the new WTNF enum value to the //// response property for the response status

    • warning

      added the new WTNF enum value to the //// response property for the response status

    • warning

      added the new WTNF enum value to the //// response property for the response status

    • info

      the // request property format was generalized from date-time to no format

    • info

      the // request property format was generalized from date-time to no format

    • info

      added to the response body allOf list for the response status

    • info

      added to the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response's property default value ACTIVE was added for the status

    • info

      the response's property default value ACTIVE was added for the status

    • info

      the response's property default value ACTIVE was added for the status

    • info

      the /// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the //// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the //// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the /// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the // response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the /// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the /// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the // response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the /// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the //// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the //// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      the /// response's property pattern /\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T[0-2]\d:[0-5]\d:[0-5]\d[+-][0-2]\d:[0-5]\d/ was added for the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property /// to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property /// to the response with the status

    This list may be incomplete.