# Retrieve a product

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/products/{id}:
    get:
      summary: Retrieve a product
      deprecated: false
      description: ''
      tags:
        - API Reference/Products
      parameters:
        - name: id
          in: path
          description: ''
          required: true
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apifox-refs:
                  01GMQ2K0NGEP8R5DG3K69ZMA8M:
                    $ref: '#/components/schemas/Product'
                    x-apifox-overrides:
                      unit_label: null
                      tax_code: null
                      statement_descriptor: null
                      shippable: null
                      package_dimensions: null
                      default_price: null
                x-apifox-orders:
                  - 01GMQ2K0NGEP8R5DG3K69ZMA8M
                properties:
                  id:
                    type: string
                    description: Unique identifier for the object, like 'prod_xxx'.
                  object:
                    type: string
                    description: '''product'''
                  active:
                    type: boolean
                    description: Whether the product is currently available for purchase.
                  created:
                    type: integer
                    description: >-
                      Time at which the object was created. Measured in seconds
                      since the Unix epoch.
                  description:
                    type: string
                    description: >-
                      The product’s description, meant to be displayable to the
                      customer. Use this field to optionally store a long form
                      explanation of the product being sold for your own
                      rendering purposes.
                  images:
                    type: array
                    items:
                      type: string
                    description: >-
                      A list of up to 8 URLs of images for this product, meant
                      to be displayable to the customer.
                  livemode:
                    type: boolean
                    description: >-
                      Has the value true if the object exists in live mode or
                      the value false if the object exists in test mode.
                  metadata:
                    type: object
                    properties: {}
                    x-apifox-orders: []
                    description: >-
                      Set of key-value pairs that you can attach to an object.
                      This can be useful for storing additional information
                      about the object in a structured format.
                    x-apifox-ignore-properties: []
                  name:
                    type: string
                    description: >-
                      The product’s name, meant to be displayable to the
                      customer. Whenever this product is sold via a
                      subscription, name will show up on associated invoice line
                      item descriptions.
                  updated:
                    type: integer
                    description: >-
                      Time at which the object was last updated. Measured in
                      seconds since the Unix epoch.
                  url:
                    type: string
                    description: A URL of a publicly-accessible webpage for this product.
                required:
                  - name
                x-apifox-ignore-properties:
                  - id
                  - object
                  - active
                  - created
                  - description
                  - images
                  - livemode
                  - metadata
                  - name
                  - updated
                  - url
          headers: {}
          x-apifox-name: OK
      security:
        - basic: []
      x-apifox-folder: API Reference/Products
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1296482/apis/api-55498754-run
components:
  schemas:
    Product:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the object, like 'prod_xxx'.
        object:
          type: string
          description: '''product'''
        active:
          type: boolean
          description: Whether the product is currently available for purchase.
        created:
          type: integer
          description: >-
            Time at which the object was created. Measured in seconds since the
            Unix epoch.
        description:
          type: string
          description: >-
            The product’s description, meant to be displayable to the customer.
            Use this field to optionally store a long form explanation of the
            product being sold for your own rendering purposes.
        images:
          type: array
          items:
            type: string
          description: >-
            A list of up to 8 URLs of images for this product, meant to be
            displayable to the customer.
        livemode:
          type: boolean
          description: >-
            Has the value true if the object exists in live mode or the value
            false if the object exists in test mode.
        metadata:
          type: object
          properties: {}
          x-apifox-orders: []
          description: >-
            Set of key-value pairs that you can attach to an object. This can be
            useful for storing additional information about the object in a
            structured format.
          x-apifox-ignore-properties: []
        name:
          type: string
          description: >-
            The product’s name, meant to be displayable to the customer.
            Whenever this product is sold via a subscription, name will show up
            on associated invoice line item descriptions.
        updated:
          type: integer
          description: >-
            Time at which the object was last updated. Measured in seconds since
            the Unix epoch.
        url:
          type: string
          description: A URL of a publicly-accessible webpage for this product.
        default_price:
          type: 'null'
          description: （未实现）
        package_dimensions:
          type: 'null'
          description: （未实现）
        shippable:
          type: 'null'
          description: （未实现）
        statement_descriptor:
          type: 'null'
          description: （未实现）
        tax_code:
          type: 'null'
          description: （未实现）
        unit_label:
          type: 'null'
          description: （未实现）
      x-apifox-orders:
        - id
        - object
        - active
        - created
        - description
        - images
        - livemode
        - metadata
        - name
        - updated
        - url
        - default_price
        - package_dimensions
        - shippable
        - statement_descriptor
        - tax_code
        - unit_label
      required:
        - name
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    basic:
      type: http
      scheme: basic
servers:
  - url: https://apitest.wooshpay.com
    description: 官网测试
security:
  - basic: []

```
