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

# Update Product

> Update Product details



## OpenAPI

````yaml /api-reference/Products/product.json post /product/v1.0/updateProduct
openapi: 3.0.3
info:
  title: Product
  description: API's to add and get product information.
  version: 1.0.0
servers:
  - url: https://sandbox-api.transactbridge.com
    description: Sandbox Environment
  - url: https://api.transactbridge.com
    description: Production Environment
security:
  - ApiKeyAuth: []
    SignatureAuth: []
paths:
  /product/v1.0/updateProduct:
    post:
      tags:
        - Product
      summary: Update Product
      description: Update Product details
      operationId: update Product
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                productId:
                  type: string
                  description: ID of the product to update.
                referenceId:
                  type: string
                  description: >-
                    Your product reference ID. Can be sent instead of productId
                    to find the product.
                name:
                  type: string
                  description: New product name.
                description:
                  type: string
                  description: New product description.
                price:
                  type: number
                  description: >-
                    New product price. Used by billing sessions when the product
                    has a fixed price.
                currCode:
                  type: string
                  description: Currency of price.
                availableStock:
                  type: integer
                  description: New stock count.
                active:
                  type: boolean
                  description: >-
                    true or false to turn the product on or off. Must be the
                    only field in the request (with productId).
                deleted:
                  type: boolean
                  description: >-
                    true deletes the product. A deleted product can't be used in
                    a billing session or subscription.
                shippable:
                  type: boolean
                  description: true for physical goods.
                hsnCode:
                  type: string
                  description: HSN code of the product.Required if shippable is true
                userTaxId:
                  type: string
                  description: ID of the new tax category.
                isKycEnabled:
                  type: boolean
                  description: >-
                    Turns the customer KYC requirement for this product on or
                    off.
                thumbnail:
                  type: string
                  format: uri
                  description: New image URL.
                images:
                  type: array
                  items:
                    type: string
                  description: New list of image URLs.
                meta:
                  type: object
                  properties:
                    param1:
                      type: string
                      maxLength: 256
                      description: Custom field for your own use. Max 256 characters each.
                    param2:
                      type: string
                      maxLength: 256
                      description: Custom field for your own use. Max 256 characters each.
                    param3:
                      type: string
                      maxLength: 256
                      description: Custom field for your own use. Max 256 characters each.
                shippableData:
                  type: object
                  description: If shippable is true then shippable data is mandatory
                  additionalProperties: false
                  properties:
                    partNumber:
                      type: string
                      description: Part number of the product.
                    eccn:
                      type: string
                      description: Export Control Classification Number.
                    hsCode:
                      type: string
                      description: HS code of the product.
                    weight:
                      type: string
                      description: Weight of the product.
                    weightUnit:
                      type: string
                      enum:
                        - KG
                        - G
                        - LB
                        - OZ
                    length:
                      type: string
                      description: Length of the product.
                    width:
                      type: string
                      description: Width of the product.
                    height:
                      type: string
                      description: Height of the product.
                    dimensionUnit:
                      type: string
                      enum:
                        - CM
                        - MM
                        - IN
              anyOf:
                - required:
                    - productId
                - required:
                    - referenceId
      responses:
        '200':
          description: Updated product details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxes'
components:
  schemas:
    taxes:
      type: object
      properties:
        quoteCurrCode:
          type: string
          description: Currency you quoted in.
        quoteAmount:
          type: number
          description: Total after discount, in quoteCurrCode.
        code:
          type: string
          description: Merchant settlement currency.
        amount:
          type: number
          description: Total converted to the settlement currency.
        totalAmount:
          type: number
          description: Final amount to pay.
        quoteAmt:
          type: number
          description: Same as quoteAmount. Kept for backward compatibility.
        tax:
          type: object
          description: 'Tax breakdown: rates, amount per tax component, and total tax.'
          properties:
            rates:
              type: array
              items:
                type: object
            amount:
              type: number
            totalTax:
              type: number
        gstInclusive:
          type: boolean
          description: Whether the amounts were calculated as tax-inclusive.
        discount:
          type: object
          description: >-
            The discount or coupon that was applied, plus amountOff in the
            settlement currency.
          properties:
            amountOff:
              type: number
        items:
          type: array
          description: Your items, each with inrAmount added (line total × FX rate).
          items:
            type: object
            properties:
              inrAmount:
                type: number
        billDetails:
          type: object
          description: The final billTo address and the same items list.
          properties:
            billTo:
              type: object
            items:
              type: array
              items:
                type: object
                properties:
                  inrAmount:
                    type: number
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Merchant API Key
    SignatureAuth:
      type: apiKey
      in: header
      name: x-signature
      description: Generated request signature

````

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