---
title: "ProducerStatusUpdatedData"
url: "https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16/schemas/ProducerStatusUpdatedData"
---

> Full API specification: https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16.md

# ProducerStatusUpdatedData

Payload for the `contract.producer_status.updated` event.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: AgentSync Contracting & Hierarchies API
  version: v1.7.6
servers:
  - url: https://api.sandbox.agentsync.io/contracting
    description: Sandbox
  - url: https://api.agentsync.io/contracting
    description: Production
components:
  schemas:
    ProducerStatusUpdatedData:
      title: ProducerStatusUpdatedData
      type: object
      description: Payload for the `contract.producer_status.updated` event.
      required:
        - producerId
        - organizationId
        - organizationName
        - startDate
        - statusId
        - statusName
        - active
      properties:
        producerId:
          type: string
          format: uuid
          description: The unique identifier of the producer.
          example: 550e8400-e29b-41d4-a716-446655440000
        npn:
          type:
            - string
            - "null"
          description: The National Producer Number of the producer.
          example: "1234567"
        organizationId:
          type: string
          format: uuid
          description: The unique identifier of the organization which the producer's role
            and status has been updated for.
          example: 660e8400-e29b-41d4-a716-446655440001
        organizationName:
          type: string
          description: The name of the organization which the producer's role and status
            has been updated for.
          example: Acme Insurance Agency
        startDate:
          type: string
          format: date
          description: "The date of when the producer started with their organization.
            Format: yyyy-MM-dd"
          example: 2023-01-15
        endDate:
          type:
            - string
            - "null"
          format: date
          description: "The date of when the producer ended with their organization.
            Format: yyyy-MM-dd"
          example: null
        statusId:
          type: string
          format: uuid
          description: The unique identifier of the status of the producer.
          example: 770e8400-e29b-41d4-a716-446655440002
        statusName:
          type: string
          description: The name of the status of the producer.
          example: Active
        active:
          type: boolean
          description: Denotes if the producer is currently active with their organization.
          example: true
        updatedAt:
          type:
            - string
            - "null"
          format: date-time
          description: "Timestamp of when this record was last updated. Format:
            yyyy-MM-dd'T'HH:mm:ss'Z'"
          example: 2024-06-20T14:45:00Z
        hireDate:
          type:
            - string
            - "null"
          format: date
          description: "The date the producer was hired by their organization. Format:
            yyyy-MM-dd"
          example: 2023-01-15
```
