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

# Order Product

> Place an order for a new ACME product. Orders are processed instantly (or whenever our systems feel like it)

Place an order for a new ACME product. Orders are processed instantly (or whenever our systems feel like it). Shipping times vary based on product explosiveness.


## OpenAPI

````yaml POST /products
openapi: 3.1.0
info:
  title: Acme Corporation Product Catalog API
  description: >-
    The official API for managing ACME Corporation's wacky product catalog. Use
    at your own risk!
  license:
    name: ACME License - Explosions Not Covered
  version: 1.0.0
servers:
  - url: https://api.acmecorp.com
security:
  - bearerAuth: []
paths:
  /products:
    post:
      description: >-
        Place an order for a new ACME product. Orders are processed instantly
        (or whenever our systems feel like it)
      requestBody:
        description: Product order details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewProductOrder'
        required: true
      responses:
        '200':
          description: Order confirmed (explosions not covered)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '400':
          description: Order failed - product may be out of stock or already exploded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    NewProductOrder:
      allOf:
        - $ref: '#/components/schemas/Product'
        - required:
            - id
          type: object
          properties:
            id:
              description: Order identification number
              type: integer
              format: int64
    Product:
      required:
        - name
      type: object
      properties:
        name:
          description: The name of the ACME product (e.g., 'Rocket-Powered Roller Skates')
          type: string
        tag:
          description: >-
            Product category (e.g., 'explosive', 'transportation',
            'invisibility')
          type: string
        price:
          description: Product price in USD
          type: number
          format: float
        explosive:
          description: Whether this product is known to explode
          type: boolean
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
          description: Error message (may include explosion warnings)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ACME Bearer token (obtained with product purchase)

````