Points & Earn Rules

Get customer point transaction history

Changed on

Retrieves paginated list of point transactions for the authenticated customer, ordered by ID descending (most recent first). Each transaction includes details about points earned or spent, transaction type, status (PENDING, APPROVED, REJECTED), associated order information, and timestamps. Useful for displaying transaction history to customers.

get/loyalty/cp/api/transaction-by-shop

Request

  • Base URL
    https://your-store.myshopify.com/apps
  • URL
    https://your-store.myshopify.com/apps/loyalty/cp/api/transaction-by-shop
  • Auth
    none declared

Query parameters

pageinteger
sizeinteger
sortstring[]

Pagination parameters (page number, size, sort)

Response

Point transactions retrieved successfully with pagination headers (X-Total-Count, Link)

autoApprovalDaysinteger
contractIdstring
createAtstring date-time
creditExpireAtstring date-time
customerIdinteger required
displayNamestring
earnRuleIdinteger
earnRuleNamestring
idinteger
importedboolean
notestring
orderFinancialStatusstring
orderFulfillmentStatusstring
orderIdinteger
orderLineItemIdinteger
orderNamestring
pointType'DEBIT' | 'CREDIT' required
pointsnumber double required
reasonstring
redeemRuleNamestring
redeemRuleRuleIdinteger
reviewReferencestring
rewardType'STORE_CREDIT' | 'DISCOUNT_CODE' | 'POINTS'
shopstring
spentAmountnumber double
status'APPROVED' | 'PENDING' | 'REJECTED'
transactionRule'ADJUSTMENT' | 'EARN_RULE' | 'REDEEM_RULE' | 'REFERRAL' | 'REDEEM_REVERSAL'

Changes

    • breaking

      the response's body 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

    • 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

      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

      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

      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

      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

      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

      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

      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 REDEEM_REVERSAL enum value to the response property for the response status