> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Put v1panelgoodsproducts pricing

> Requires goods.write. Every rounding mode rounds up, and the markup itself rounds up rather than truncating.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml put /v1/panel/goods/products/{productID}/pricing
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/goods/products/{productID}/pricing:
    put:
      tags:
        - panel
      description: >-
        Requires goods.write. Every rounding mode rounds up, and the markup
        itself rounds up rather than truncating.
      operationId: savePanelGoodsPricing
      parameters:
        - in: path
          name: productID
          required: true
          schema:
            type: string
            format: uuid
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PanelGoodsPricing'
      responses:
        '204':
          description: Saved
        '403':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    CSRFToken:
      in: header
      name: X-CSRF-Token
      required: true
      description: >-
        Echoes the token from the current session. Required on every unsafe
        method.
      schema:
        type: string
  schemas:
    PanelGoodsPricing:
      type: object
      required:
        - currency
        - markupBps
        - rounding
        - quoteTtlSeconds
      properties:
        currency:
          type: string
        markupBps:
          type: integer
          minimum: 0
          maximum: 100000
        rounding:
          type: string
          enum:
            - none
            - up_minor
            - up_unit
            - up_ten_units
            - up_hundred_units
        fixedAmountMinor:
          type: integer
          format: int64
          nullable: true
          description: Opts out of markup derivation entirely.
        quoteTtlSeconds:
          type: integer
          minimum: 30
          maximum: 3600
        updatedAt:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

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