Skip to main content

List schedules

GET 

/subscriptions/schedules

Retrieves a list of all schedules.

Filtering

This endpoint supports filtering. For the general syntax, see Filtering.

The following attributes and operators are supported.

OperatorAttributeDescription
eqexternal_refEquals. Checks if the values of two operands are equal. If they are, the condition is true.

Request

Query Parameters

    page[offset] int64

    Possible values: <= 10000

    The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the page length store setting is used.

    page[limit] int64

    The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the page length store setting is used.

    filter string

Responses

Success. A list of schedules is returned.

Schema
    data Schedule[]
  • Array [
  • id UUID (string)

    The unique identifier.

    type SubscriptionScheduleType (string)required

    Possible values: [subscription_schedule]

    attributes ScheduleAttributesrequired
    external_ref ExternalRef (string)

    Possible values: <= 2048 characters

    A unique attribute that you could use to contain information from another company system, for example. The maximum length is 2048 characters.

    name string

    Possible values: >= 3 characters and <= 1024 characters

    The name of the schedule.

    specification stringrequired

    Possible values: <= 1024 characters

    A cron-style specification of when the jobs should be created. See Schedules.

    location stringrequired

    Possible values: <= 1024 characters

    The location of the time zone that the schedule operates in. Subscriptions runs on Coordinated Universal Time (UTC) time and conforms to RFC 3339.

    job ScheduleJobrequired
    job_type JobType (string)required

    Possible values: [billing-run, tax-run, payment-run, import]

    The type of job. One of the following:

    • billing_run - a billing run job.
    • payment_run - a payment run job.
    • tax_run - a tax run job.
    updated_at stringrequired

    The date and time a resource was updated.

    created_at stringrequired

    The date and time a resource was created.

    meta ScheduleMetarequired
    scheduled_for date-time
    owner stringrequired

    The owner of a resource, either store or organization.

    timestamps Timestampsrequired
    updated_at stringrequired

    The date and time a resource was updated.

    created_at stringrequired

    The date and time a resource was created.

  • ]
  • links object
    anyOf
    title
Loading...