> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ServiceProviderSyncRun

> The schema definition for the ServiceProviderSyncRun resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the service provider sync run.

## Specific attributes

[Navigate to header](#param-commercial-activity)

action

varchar

public

required

The action of the service provider sync run.

**Rules**: Possible values: apply, ingest, match, refresh, release. Max length: 20 characters

[Navigate to header](#param-commercial-activity)

candidates\_total

integer

public

The candidates total of the service provider sync run.

[Navigate to header](#param-commercial-activity)

correlation\_id

varchar

public

The correlation ID of the service provider sync run.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

finished\_at

timestamp

public

Timestamp when the service provider sync run was finished.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

heartbeat\_at

timestamp

public

Timestamp when the service provider sync run was heartbeat.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

profile

varchar

public

required

The profile of the service provider sync run.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

reason\_code

varchar

public

The reason code of the service provider sync run.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

recovery\_attempts

PgSmallInt

default:"0"

public

required

The recovery attempts of the service provider sync run.

[Navigate to header](#param-commercial-activity)

scope

jsonb

public

required

The scope of the service provider sync run.

[Navigate to header](#param-commercial-activity)

started\_at

timestamp

public

Timestamp when the service provider sync run was started.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

status

varchar

default:"queued"

public

required

The status of the service provider sync run.

**Rules**: Possible values: cancelled, completed, completed\_with\_failures, draining, failed, publishing, queued. Max length: 30 characters

[Navigate to header](#param-commercial-activity)

triggered\_by

uuid

public

required

The triggered by of the service provider sync run.

## Foreign keys

[Navigate to header](#param-commercial-activity)

business\_unit

uuid

public

Optional reference to the Business Unit associated with the service provider sync run. [Ref: Business Unit Schema](https://docs.bbrands.io/schemas/product/business-unit.md)

[Navigate to header](#param-commercial-activity)

queue\_event

uuid

public

Optional reference to the Queue Event associated with the service provider sync run. [Ref: Queue Event Schema](https://docs.bbrands.io/schemas/queue/queue-event.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_connection

uuid

public

Optional reference to the Service Provider Connection associated with the service provider sync run. [Ref: Service Provider Connection Schema](https://docs.bbrands.io/schemas/integration/service-provider-connection.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_resource\_type

uuid

public

required

Reference to the Service Provider Resource Type this service provider sync run belongs to. [Ref: Service Provider Resource Type Schema](https://docs.bbrands.io/schemas/integration/service-provider-resource-type.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_sync\_batch

uuid

public

required

Reference to the Service Provider Sync Batch this service provider sync run belongs to. [Ref: Service Provider Sync Batch Schema](https://docs.bbrands.io/schemas/integration/service-provider-sync-batch.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.