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

# Reorder Flash Listings

> Updates the order of flash listings. Only artists can reorder their own flash listings.



## OpenAPI

````yaml PUT /flash/reorder
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /flash/reorder:
    put:
      summary: Reorder Flash Listings
      description: >-
        Updates the order of flash listings. Only artists can reorder their own
        flash listings.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - flashUpdates
              properties:
                flashUpdates:
                  type: array
                  items:
                    type: object
                    required:
                      - id
                      - order
                    properties:
                      id:
                        type: string
                        description: ID of the flash listing
                      order:
                        type: number
                        description: New order value for the flash listing
                  description: Array of flash listing updates with new order values
      responses:
        '200':
          description: Flash listings reordered successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                properties:
                  success:
                    type: boolean
                    description: Whether the operation was successful
        '400':
          description: Bad request - invalid or empty flash updates array
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````