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

# Complete an item order

> Mark the item order as completed after delivering the items to the buyer. Buyer will be notified automatically.



## OpenAPI

````yaml /api/openapi.json post /v2/item-orders/{itemOrder}/complete
openapi: 3.1.0
info:
  title: GameBoost
  version: 2.0.0
servers:
  - url: https://api.gameboost.com
    description: GameBoost API
security:
  - BearerTokenSecurityScheme: []
tags:
  - name: Games
    description: Games
  - name: Seller Breaks
    description: Seller Breaks
  - name: Payments
    description: Payments
  - name: Payouts
    description: Payouts
  - name: Account Offers
    description: Account Offers
  - name: Account Orders
    description: Account Orders
  - name: Item Offers
    description: Item Offers
  - name: Item Orders
    description: Item Orders
  - name: Currency Offers
    description: Currency Offers
  - name: Currency Orders
    description: Currency Orders
  - name: Webhooks
    description: Webhook events sent to your endpoints when specific actions occur
  - name: Gift Card Offers
    description: Gift Card Offers
  - name: Gift Card Orders
    description: Gift Card Orders
paths:
  /v2/item-orders/{itemOrder}/complete:
    post:
      tags:
        - Item Orders
      summary: Complete an item order
      description: >-
        Mark the item order as completed after delivering the items to the
        buyer. Buyer will be notified automatically.
      parameters:
        - name: itemOrder
          in: path
          description: >-
            The ID of the item order. Can be retrieved from the list of item
            orders, or from the parent item offer, or from webhooks.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Item order completed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/ItemOrder'
                  message:
                    description: Success message
                    type: string
                  action:
                    description: Action performed
                    type: string
        '401':
          $ref: '#/components/responses/ErrorUnauthenticated'
        '403':
          $ref: '#/components/responses/ErrorForbidden'
        '404':
          $ref: '#/components/responses/ErrorNotFound'
        '429':
          $ref: '#/components/responses/ErrorRateLimited'
      security:
        - BearerToken: []
components:
  schemas:
    ItemOrder:
      description: Item order object representing a purchase of in-game items
      type: object
      properties:
        id:
          description: Unique identifier for the item order
          type: integer
        item_offer_id:
          description: ID of the related item offer
          type: integer
        game:
          $ref: '#/components/schemas/GameRelation'
        buyer:
          $ref: '#/components/schemas/Buyer'
        rating:
          $ref: '#/components/schemas/Rating'
        title:
          description: Display title for the item order
          type: string
        description:
          description: Detailed description of the items being purchased
          type: string
          nullable: true
        quantity:
          description: Number of item units ordered
          type: integer
        parameters:
          description: >-
            Game-specific parameters such as server, region, or delivery
            preferences
          type: object
          nullable: true
        status:
          description: Current status of the item order
          enum:
            - pending
            - in_delivery
            - delivered
            - refunded
          type: string
        is_disputed:
          description: Indicates if the item order currently has an active dispute case
          type: boolean
        dispute_case_id:
          description: >-
            Identifier of the active dispute case for this item order, or null
            if not disputed
          type: integer
          nullable: true
        delivery_time:
          $ref: '#/components/schemas/DeliveryTime'
        credentials:
          description: Delivery information provided by buyer for item delivery
          type: object
          example:
            username: CharacterName
            server: EU
        price_eur:
          description: Total order price in EUR
          type: string
        price_usd:
          description: Total order price converted to USD using current exchange rates
          type: string
        unit_price_eur:
          description: Price per unit in EUR
          type: string
        unit_price_usd:
          description: Price per unit in converted to USD using current exchange rates
          type: string
        created_at:
          description: Unix timestamp when the item order was created
          type: integer
        updated_at:
          description: Unix timestamp of the last modification to the item order
          type: integer
        purchased_at:
          description: Unix timestamp when the item order was purchased
          type: integer
          nullable: true
        completed_at:
          description: Unix timestamp when the item order was successfully delivered
          type: integer
          nullable: true
        refunded_at:
          description: Unix timestamp when the item order was refunded
          type: integer
          nullable: true
    GameRelation:
      description: Basic game information used in relations
      type: object
      properties:
        id:
          description: Unique identifier for the game
          type: integer
        name:
          description: Display name of the game
          type: string
        slug:
          description: URL-friendly identifier for the game
          type: string
    Buyer:
      description: Buyer information for an order
      type: object
      properties:
        id:
          description: Unique identifier for the buyer
          type: integer
        username:
          description: Censored username of the buyer
          type: string
    Rating:
      description: Rating object representing feedback from a buyer
      type: object
      properties:
        id:
          description: Unique identifier for the rating
          type: integer
        labels:
          description: Array of predefined label names that categorize the rating feedback
          type: array
          items:
            type: string
          nullable: true
        rating:
          description: Rating value (0=negative, 1=positive)
          type: integer
        comment:
          description: Rating comment text
          type: string
        created_at:
          description: Unix timestamp when the rating was created
          type: integer
        updated_at:
          description: Unix timestamp of the last modification to the rating
          type: integer
    DeliveryTime:
      description: Delivery time object representing expected delivery duration
      type: object
      properties:
        duration:
          description: Numeric value representing the delivery time
          type: integer
        unit:
          description: Time unit for the duration (minutes, hours, days)
          enum:
            - minutes
            - hours
            - days
          type: string
        format:
          description: Human-readable delivery time (e.g., "2 hr")
          type: string
        format_long:
          description: Extended format delivery time (e.g., "2 hours")
          type: string
        seconds:
          description: Total delivery time converted to seconds
          type: integer
  responses:
    ErrorUnauthenticated:
      description: >-
        User is not authenticated, happens when the API key is missing, expired
        or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Unauthenticated.
    ErrorForbidden:
      description: >-
        User is not authorized to perform this action, happens when you try to
        access a resource you do not have permission to access
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: This action is unauthorized.
    ErrorNotFound:
      description: Resource not found, happens when the requested resource does not exist
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Resource not found.
    ErrorRateLimited:
      description: >-
        Rate limit exceeded, happens when you exceed the rate limit for the
        endpoint
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Too many requests.
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````