---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Update Order Tickets

This API used to update order tickets associated with the specified event.
This API can be access by event admin and super admin. It will return only orderId.
To call this API, user have to pass query param with API URL like eventurl, orderId, staff ticketing order details and authentication key to authenticate user.

Here is the description of response attributes, which returns to the form of JSON.\
It will return a success message if API execute successfully.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        orderId
      </td>

      <td style={{ textAlign: "left" }}>
        order id which can be use to get form data and do checkout.
      </td>
    </tr>
  </tbody>
</Table>

Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error Code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        200
      </td>

      <td>
        Successfully ordered tickets.
      </td>
    </tr>

    <tr>
      <td>
        201
      </td>

      <td>
        Created.
      </td>
    </tr>

    <tr>
      <td>
        400
      </td>

      <td>
        The request could not be understood by the server due to malformed syntax.
      </td>
    </tr>

    <tr>
      <td>
        401
      </td>

      <td>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td>
        403
      </td>

      <td>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        The resource you were trying to reach is not found.
      </td>
    </tr>

    <tr>
      <td>
        4060422
      </td>

      <td>
        Payment method is required.
      </td>
    </tr>

    <tr>
      <td>
        4030101
      </td>

      <td>
        Not staff User.
      </td>
    </tr>

    <tr>
      <td>
        4060517
      </td>

      <td>
        There are currently no tickets available. Please, contact the event organizer.
      </td>
    </tr>

    <tr>
      <td>
        4060046
      </td>

      <td>
        You can not purchase addons ticket without purchase event ticket.
      </td>
    </tr>

    <tr>
      <td>
        4060016
      </td>

      <td>
        Not valid payment type.
      </td>
    </tr>

    <tr>
      <td>
        4040503
      </td>

      <td>
        order ticket count is zero.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/events/{eventurl}/staff/ticketing/order/{orderid}": {
      "put": {
        "summary": "Update Order Tickets",
        "description": "This API used to update order tickets associated with the specified event.\nThis API can be access by event admin and super admin. It will return only orderId.\nTo call this API, user have to pass query param with API URL like eventurl, orderId, staff ticketing order details and authentication key to authenticate user.",
        "operationId": "update-order-tickets",
        "parameters": [
          {
            "name": "eventurl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "orderid",
            "in": "path",
            "description": "Update order tickets pass the  orderid.",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authentication Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "staffTicketingOrderDto": {
                    "type": "object",
                    "description": "It's contains the staff ticketing order details.",
                    "properties": {
                      "paymentType": {
                        "type": "string",
                        "description": "way of payment, staff can do cash and credit card payment"
                      },
                      "note": {
                        "type": "string",
                        "description": "Enter note for manually sold event tickets, this is optional field"
                      },
                      "utmTrackSourceDto": {
                        "type": "object",
                        "properties": {
                          "utmSource": {
                            "type": "string",
                            "description": "Identify a search engine, newsletter name, or other source"
                          },
                          "utmMedium": {
                            "type": "string",
                            "description": "Identify a medium such as email or cost-per-click"
                          },
                          "utmCampaign": {
                            "type": "string",
                            "description": "Identify a specific product promotion or strategic campaign"
                          },
                          "utmTerm": {
                            "type": "string",
                            "description": "Used for paid search"
                          },
                          "utmContent": {
                            "type": "string",
                            "description": "Used for A/B testing and content-targeted ads."
                          }
                        }
                      },
                      "ticketingOrderRequestDto": {
                        "type": "object",
                        "properties": {
                          "ticketings": {
                            "type": "array",
                            "items": {
                              "properties": {
                                "ticketTypeId": {
                                  "type": "integer",
                                  "description": "Ticket type id for event, this id can be found in ticketing setting API",
                                  "format": "int64"
                                },
                                "numberOfTicket": {
                                  "type": "integer",
                                  "description": "Total number of tickets.",
                                  "format": "int32"
                                },
                                "price": {
                                  "type": "number",
                                  "description": "Ticket amount",
                                  "format": "double"
                                },
                                "seatNumbers": {
                                  "type": "array",
                                  "description": "List of seats number, if type is seating.",
                                  "default": [],
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "seatNumbersDisplay": {
                                  "type": "array",
                                  "description": "List of seats number, if type is seating",
                                  "default": [],
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "tableNumber": {
                                  "type": "string",
                                  "description": "Table number, If ticket have selected bundle type."
                                }
                              },
                              "required": [
                                "ticketTypeId",
                                "numberOfTicket",
                                "price"
                              ],
                              "type": "object"
                            }
                          },
                          "clientDate": {
                            "type": "string",
                            "description": "Client browser date in dd/MM/yyyy HH:mm:ss format"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"orderId\": 0\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "orderId": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```