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

# Change order

> Change order status.



## OpenAPI

````yaml POST /contacts/{contact_id}/order/{order_id}
openapi: 3.0.0
info:
  title: Fliqr AI API
  version: '1.1'
  description: >-
    REST API for Fliqr AI. Authenticate every request with the `X-ACCESS-TOKEN`
    header.
servers:
  - url: https://app.fliqr.ai/api
    description: Production
security:
  - APIKeyHeader: []
tags:
  - name: Accounts
  - name: Contacts
  - name: AI Agents
  - name: Pipelines
  - name: Ecommerce
  - name: Appointment Management
  - name: Templates
paths:
  /contacts/{contact_id}/order/{order_id}:
    post:
      tags:
        - Ecommerce
      summary: Change Order
      description: Change order status.
      operationId: changeOrder
      parameters:
        - name: contact_id
          in: path
          required: true
          schema:
            type: integer
        - name: order_id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: integer
                  enum:
                    - 6
                    - 7
                    - 10
                    - 13
                  description: >-
                    The new order status. 6 - Processing, 7 - Shipped, 10 -
                    Completed, 13 - Canceled.
                name:
                  type: string
                  description: The name for the shipping
                phone:
                  type: string
                  description: The phone for the shipping
                email:
                  type: string
                  description: The email for the shipping
                country:
                  type: string
                  description: The country for the shipping
                state:
                  type: string
                  description: The state for the shipping
                city:
                  type: string
                  description: The city for the shipping
                zip_code:
                  type: string
                  description: The zip code for the shipping
                address:
                  type: string
                  description: The address for the shipping
                street_1:
                  type: string
                  description: The street_1 for the shipping
                street_2:
                  type: string
                  description: The street_2 for the shipping
                note:
                  type: string
                  description: Note related to the order.
              example:
                status: 7
        required: true
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                example:
                  success: true
        '400':
          description: Order status must be 6, 7, 10, or 13
        '402':
          description: The order status is the same as the previous status
        '404':
          description: The order ID doesn't existe
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-ACCESS-TOKEN
      description: >-
        API access token from your Fliqr AI dashboard (**Settings → API**). Send
        it in the `X-ACCESS-TOKEN` header on every request.

````