---
title: "Get Cancellation Reasons"
url: "https://stage-api-docs.centraldispatch.com/apis/stage-fulfillment-api-1-0-0/versions/8637c155-7ff6-49fa-ac0a-3b4df78c9665/operations/getLoadCancellationReasons"
---

> Full API specification: https://stage-api-docs.centraldispatch.com/apis/stage-fulfillment-api-1-0-0/versions/8637c155-7ff6-49fa-ac0a-3b4df78c9665.md

# Get Cancellation Reasons

`GET` `/api/fulfillments/loadcancellationreasons`

Operation ID: `getLoadCancellationReasons`

Get a reference list of supported load cancellation reasons.

## Query parameters

- `marketplaceId` (integer, int32, optional) - The Central Dispatch marketplace ID.

## Header parameters

- `Accept` (string, required) - The major version of the API to make a request against. This is a custom MIME type that contains `vnd.coxauto.v[#]+`. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to `application/vnd.coxauto.v1+json`.

## Responses

- `200` - OK. Successful request.
- `401` - Unauthorized. Authentication failed or missing.
- `403` - Forbidden. The attempted action is not permitted.
- `429` - Too Many Requests. Rate limit exceeded.
- `500` - Error.
- `503` - Service Unavailable. Temporary service interruption.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Fulfillment API
  version: 1.0.0
servers:
  - url: https://fulfillment-api.centraldispatch.com
    description: Production server
paths:
  /api/fulfillments/loadcancellationreasons:
    get:
      tags:
        - Dispatch
      summary: Get Cancellation Reasons
      description: Get a reference list of supported load cancellation reasons.
      operationId: getLoadCancellationReasons
      parameters:
        - name: marketplaceId
          in: query
          description: The Central Dispatch marketplace ID.
          schema:
            type: integer
            format: int32
            nullable: true
          example: 10000
        - name: Accept
          in: header
          description: The major version of the API to make a request against. This is a
            custom MIME type that contains `vnd.coxauto.v[#]+`. For example, to
            request a resource from version 1.x.x of an API, the Accept header
            should be set to `application/vnd.coxauto.v1+json`.
          required: true
          schema:
            type: string
          example: application/vnd.coxauto.v1+json
      responses:
        "200":
          description: OK. Successful request.
          headers:
            X-CoxAuto-Media-Type:
              description: Contains the major version and format information.
              schema:
                type: string
              example: coxauto.v1; format=json
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CancelReasonCollection"
        "401":
          description: Unauthorized. Authentication failed or missing.
        "403":
          description: Forbidden. The attempted action is not permitted.
        "429":
          description: Too Many Requests. Rate limit exceeded.
        "500":
          description: Error.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorsAlt"
        "503":
          description: Service Unavailable. Temporary service interruption.
      security:
        - Bearer: []
security:
  - Bearer: []
components:
  schemas:
    CancelReasonCollection:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/CancelReasonResponse"
          description: A collection of dispatch cancel reasons.
          nullable: true
      description: Details of dispatch cancel reasons.
    ErrorsAlt:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: "#/components/schemas/ErrorAlt"
          description: A collection of errors.
          nullable: true
      description: An error occurred, and the request could not be completed.
    CancelReasonResponse:
      type: object
      properties:
        responsibleParty:
          $ref: "#/components/schemas/ResponsibleParty"
        id:
          type: string
          description: The ID of the cancellation reason.
          format: uuid
          example: cac10000-e89b-12d3-a456-426614174000
        name:
          type: string
          description: The name of the cancellation reason.
          example: Carrier Unresponsive/Late
      description: Details of cancel reasons.
    ErrorAlt:
      type: object
      properties:
        errorID:
          type: string
          description: The ID of the error.
          nullable: true
          example: 157a16f0-503d-4256-ba60-a4876e8eb9bb
        code:
          type: string
          description: The code used for the issue.
          nullable: true
          example: resource.issue_type
        description:
          type: string
          description: A detailed message.
          nullable: true
          example: The issue happened because something is wrong.
        properties:
          type: array
          items:
            $ref: "#/components/schemas/ErrorAltProperty"
          description: Properties related to the issue.
          nullable: true
      description: Details of an error or issue.
    ResponsibleParty:
      enum:
        - CARRIER
        - SHIPPER
        - ALL
      description: The party responsible for the cancellation. This list is not
        exhaustive and additional values may be added at any time.
      example: SHIPPER
    ErrorAltProperty:
      type: object
      properties:
        property:
          type: string
          description: The name of the property.
          nullable: true
          example: person
        value:
          type: string
          description: The value of the property.
          nullable: true
          example: J0hn D03
      description: Details of an error's property.
  securitySchemes:
    Bearer:
      type: http
      scheme: Bearer
```
