younifyd
Menu

Get Application Cart Item Filter Expression

Get Application cart item filter expression

GET/v1/applications/{applicationId}/cart_item_filters/{cartItemFilterId}/expressions/{expressionId}

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Get Application Cart Item Filter Expression action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{getApplicationCartItemFilterExpression.response.data}}.

Request

Path parameters

applicationIdinteger (int64)required

The ID of the Application. It is displayed in your Talon.One deployment URL.

cartItemFilterIdinteger (int64)required

The ID of the Application cart item filter. You can get this ID with the [List Application cart item filters](https://docs.talon.one/management-api#tag/Applications/operation/listApplicationCartItemFilters) endpoint.

expressionIdinteger (int64)required

The ID of the Application cart item filter expression.

Response

Returns 200 with an object. Read it in later steps with {{getApplicationCartItemFilterExpression.response.data.<field>}}.

idinteger (int64)

The internal ID of this entity.

createdstring (date-time)

The time this entity was created.

cartItemFilterIdinteger (int64)

The ID of the Application cart item filter.

createdByinteger (int64)

The ID of the user who created the Application cart item filter.

expressionarray<object>

Arbitrary additional JSON data associated with the Application cart item filter.

applicationIdinteger (int64)

The ID of the Application that owns this entity.

json
{
  "id": 6,
  "created": {},
  "applicationId": 322,
  "cartItemFilterId": 216,
  "createdBy": 216,
  "expression": {
    "expr": [
      "filter",
      [
        ".",
        "Session",
        "CartItems"
      ],
      [
        [
          "Item"
        ],
        [
          "catch",
          false,
          [
            "=",
            [
              ".",
              "Item",
              "Category"
            ],
            "Kitchen"
          ]
        ]
      ]
    ]
  }
}

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.