Integrations

Request a historical import

Changed on
post/integrations/{id}/backfills

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

id, string required

Unique integration identifier

Request body

object required
scope, 'team' | 'tenant'

Response

OK

object required

Durable historical import progress. Counts refer to orders, not unique buyers.

id, string required

Unique integration backfill identifier

integrationId, string required

Unique integration identifier

scope, 'team' | 'tenant' required
status, 'QUEUED' | 'RUNNING' | 'PAUSED' | 'COMPLETED' | 'FAILED' | 'CANCELLED' required
createdAt, string date-time required
updatedAt, string date-time required
processed, integer required
skipped, integer required
failed, integer required
error, string

Changes

    • breaking

      added the pattern ^int_[0-9a-z]{26}$ to the path request parameter id

    • info

      the id response's property pattern ^ibf_[0-9a-z]{26}$ was added for the status

    • info

      the integrationId response's property pattern ^int_[0-9a-z]{26}$ was added for the status