🪵Fields & Events

Fetch event logs

get

Retrieves a list of event logs, optionally filtered by subscription ID and supports pagination.

Query parameters
pageinteger · int32Optional

Page number of the event log pagination.

limitinteger · int32Optional

Number of event logs per page.

subscriptionIdstringOptional

Filter event logs by subscription ID.

Responses
200

A list of event logs.

application/json
get
GET /event-log/ HTTP/1.1
Host: localhost:3002
Accept: */*
{
  "logs": [
    {
      "subscriptionId": "text",
      "message": "text",
      "eventType": "Create",
      "userId": "SYSTEM",
      "details": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "timestamp": "2025-10-16T05:44:01.238Z",
      "shop": "text"
    }
  ],
  "total": 1
}

Fetch field options

get

Retrieves a list of field options for various parameters used in the system.

Responses
200

A list of field options.

application/json
get
GET /fields/ HTTP/1.1
Host: localhost:3002
Accept: */*
{
  "billingInterval": [
    "DAY",
    "MONTH",
    "WEEK",
    "YEAR"
  ],
  "billingAnchorType": [
    "WEEKDAY",
    "MONTHDAY",
    "YEARDAY"
  ],
  "deliveryInterval": [
    "DAY",
    "MONTH",
    "WEEK",
    "YEAR"
  ],
  "intent": [
    "FULFILLMENT_BEGIN"
  ],
  "preAnchorBehavior": [
    "ASAP",
    "NEXT"
  ],
  "deliveryAnchorType": [
    "WEEKDAY",
    "MONTHDAY",
    "YEARDAY"
  ],
  "pricingPolicyType": [
    "fixed",
    "recurring"
  ],
  "adjustmentType": [
    "FIXED_AMOUNT",
    "PERCENTAGE",
    "PRICE"
  ],
  "currencyCode": [
    "USD",
    "EUR",
    "GBP"
  ],
  "status": [
    "ACTIVE",
    "CANCELLED",
    "EXPIRED",
    "FAILED",
    "PAUSED"
  ]
}

Last updated

Was this helpful?