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

# Accept a quote

> Accepts one issued option, only after the customer explicitly approved it. The quote number, option, issue time and total must match the current quote exactly, or nothing is accepted.



## OpenAPI

````yaml /api-reference/openapi.json post /central/orders/{identifier}/accept-quote
openapi: 3.1.0
info:
  title: ProvenMetal API
  version: 0.1.0
  description: >-
    Submit PCB design files for a ProvenMetal quote, read orders and accept
    quotes.
servers:
  - url: https://api.provenmetal.com
security:
  - ApiKey: []
tags:
  - name: Orders
  - name: Account
paths:
  /central/orders/{identifier}/accept-quote:
    post:
      tags:
        - Orders
      summary: Accept a quote
      description: >-
        Accepts one issued option, only after the customer explicitly approved
        it. The quote number, option, issue time and total must match the
        current quote exactly, or nothing is accepted.
      operationId: accept_quote_central_orders__identifier__accept_quote_post
      parameters:
        - name: identifier
          in: path
          required: true
          schema:
            type: string
            title: Identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptQuoteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AcceptQuoteRequest:
      properties:
        customer_approved:
          type: boolean
          title: Customer Approved
          description: 'Must be true: the customer explicitly approved this option.'
        option_id:
          type: string
          title: Option Id
          description: The issued option to accept.
        quote_number:
          type: string
          title: Quote Number
          description: The quote number the customer saw.
        issued_at:
          type: string
          title: Issued At
          description: When that quote was issued, as returned by Get an order.
        total_cents:
          type: integer
          title: Total Cents
          description: The option's total in cents, as the customer saw it.
      type: object
      required:
        - customer_approved
        - option_id
        - quote_number
        - issued_at
        - total_cents
      title: AcceptQuoteRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your ProvenMetal API key (`pm_live_...`). `Authorization: Bearer <key>`
        also works.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.