> ## 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.

# ServiceProviderSyncBatch

> The schema definition for the ServiceProviderSyncBatch resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the service provider sync batch.

## Specific attributes

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

closed\_at

timestamp

public

Timestamp when the service provider sync batch was closed.

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

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

closed\_by

uuid

public

The closed by of the service provider sync batch.

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

correlation\_id

varchar

public

The correlation ID of the service provider sync batch.

**Rules**: Max length: 100 characters

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

last\_action

varchar

public

The last action of the service provider sync batch.

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

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

last\_action\_at

timestamp

public

Timestamp when the service provider sync batch was last action.

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

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

last\_action\_by

uuid

public

The last action by of the service provider sync batch.

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

profile

varchar

public

required

The profile of the service provider sync batch.

**Rules**: Max length: 100 characters

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

reason\_code

varchar

public

The reason code of the service provider sync batch.

**Rules**: Max length: 100 characters

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

scope

jsonb

public

required

The scope of the service provider sync batch.

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

status

varchar

default:"ingesting"

public

required

The status of the service provider sync batch.

**Rules**: Possible values: cancelled, closed, failed, in\_review, ingesting, matching, ready\_to\_match. Max length: 30 characters

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

subjects\_total

integer

public

required

The subjects total of the service provider sync batch.

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

triggered\_by

uuid

public

required

The triggered by of the service provider sync batch.

## Foreign keys

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

service\_provider\_resource\_type

uuid

public

required

Reference to the Service Provider Resource Type this service provider sync batch belongs to. [Ref: Service Provider Resource Type Schema](https://docs.bbrands.io/schemas/integration/service-provider-resource-type.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.