transactions

GET /v2/transactions

Changed on

Request

  • Base URL
    https://api.loyaltylion.com
  • URL
    https://api.loyaltylion.com/v2/transactions
  • Auth
    • HTTP bearer
    • or HTTP basic

Query parameters

type'csv' | 'json'

The format of the response

since_idinteger

Return only resources whose id is after the specified id

limitinteger

Max number of resources to return per request

cursorstring

Fetch another page of results using a cursor returned in a previous response

customer_idnumber

Return only transactions for this LoyaltyLion customer ID

created_at_minstring

Return only transactions created on or after the specified ISO 8601 datetime string

created_at_maxstring

Return only transactions created before the specified ISO 8601 datetime string

Response

200

OR
string required

Example response

{
  "transactions": [
    {
      "claimed_reward": {
        "redeemable": {
          "currency": "usd"
        }
      }
    }
  ]
}

Changes

    • breaking

      added to the ///// response property oneOf list for the response status

    • breaking

      added to the ///// response property oneOf list for the response status

    • breaking

      removed 'propertyNames' constraint from the /////// response property for the status

    • breaking

      removed 'propertyNames' constraint from the /////// response property for the status

    • warning

      added the new draft_order enum value to the /////// response property 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 active_subscription_discount_voucher product_cart cart_discount_voucher checkout_redemption collection_discount_voucher custom free_shipping_voucher gift_card product_discount_voucher subscription_buy_with_points collection_product private_product tiktok_coupon discriminator mapping keys to the ///// response property for the response status

    • info

      added cost quantity discriminator mapping keys to the //////// response property for the response status

    • info

      added fulfilment pos_action product product_grant gift_card voucher tiktok_coupon discriminator mapping keys to the ///// response property for the response status

    • info

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

    • info

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