talon_one_accounts

Update a talon one account

Changed on

Update a talon one account

patch/talon_one_accounts/{talonOneAccountId}

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/talon_one_accounts/{talonOneAccountId}
  • Auth
    HTTP bearer

Path parameters

talonOneAccountIdstring required

The resource's id

Request body

Example request

{
  "data": {
    "id": "XAyRWNUzyN",
    "attributes": {
      "name": "Personal discount engine",
      "options": {
        "storeIntegrationId": "STORE-001"
      },
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      },
      "api_key": "TALON_ONE_API_KEY",
      "baseurl": "yourbaseurl"
    }
  }
}

Response

The updated talon one account object

Changes