---
title: "UpdateSubscriptionRequest"
url: "https://stage-api-docs.centraldispatch.com/apis/stage-event-api-1-0-0/versions/c1db9b9c-04c4-43e9-9e9c-fe74c2ca0f60/schemas/UpdateSubscriptionRequest"
---

> Full API specification: https://stage-api-docs.centraldispatch.com/apis/stage-event-api-1-0-0/versions/c1db9b9c-04c4-43e9-9e9c-fe74c2ca0f60.md

# UpdateSubscriptionRequest

Details of update subscription request.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Event API
  version: 1.0.0
servers:
  - url: https://event-api.centraldispatch.com
    description: Production server
components:
  schemas:
    SubscriptionRules:
      required:
        - marketplaces
        - eventTypes
      type: object
      properties:
        marketplaces:
          type: array
          items:
            type: string
          description: A collection of Marketplaces to which the subscription applies. The
            caller must have access to all listed Marketplaces.
          example:
            - "10000"
        eventTypes:
          type: array
          items:
            type: string
          description: A collection of event types. Use the `Get Event Types` endpoint to
            retrieve valid values.
          example:
            - DispatchCreated
            - DispatchUpdated
            - DispatchAccepted
      description: Details of subscription rules.
    UpdateSubscriptionRequest:
      required:
        - callbackUrl
        - subscriptionRules
      type: object
      properties:
        callbackUrl:
          type: string
          description: A valid URL that you own, which will be used to receive event
            notifications from the Central Dispatch Event service.
          example: https://abc-trcking.net/webhook
        subscriptionRules:
          $ref: "#/components/schemas/SubscriptionRules"
        isEnabled:
          type: boolean
          description: Indicates whether the subscription is currently active.
          default: false
          example: true
      description: Details of update subscription request.
```
