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

# Publish scraped product

> Create a sellable product from a scraped product



## OpenAPI

````yaml api-reference/v1/openapi.yaml post /v1/scraped-products/{id}/publish
openapi: 3.1.0
info:
  title: Goods API
  version: 1.0.0
  description: >-
    API for Goods grocery operations - scanner app, admin dashboard, and
    customer features
  contact:
    name: Goods Team
    url: https://goods.app
servers:
  - url: http://localhost:3000
    description: Local development
  - url: https://dev.api.switchyard.run
    description: Development
  - url: https://api.switchyard.run
    description: Production
security: []
tags:
  - name: v1
    description: API v1 - unified domain-based endpoints
  - name: Scanner
    description: Scanner app endpoints for drivers and pickers
  - name: Sweeps
    description: Sweep management - retail store pickup operations
  - name: RFC Picks
    description: Ready-for-checkout picking operations
  - name: Inventory
    description: Inventory management and barcode lookup
  - name: Admin
    description: Admin dashboard endpoints
  - name: Orders
    description: Order management
  - name: Products
    description: Product catalog management
  - name: Notifications
    description: Push, email, SMS, and Slack notification management
paths:
  /v1/scraped-products/{id}/publish:
    post:
      tags:
        - Scraped Products
      summary: Publish scraped product
      description: Create a sellable product from a scraped product
      parameters:
        - schema:
            type: string
            format: uuid
            description: Scraped product UUID
            example: 550e8400-e29b-41d4-a716-446655440000
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                selling_price:
                  type: number
                  minimum: 0
                  exclusiveMinimum: true
                  description: Selling price
                  example: 4.99
                is_rfc_item:
                  type: boolean
                  default: false
                  description: Is RFC item
                category_name:
                  type: string
                  description: Category name
                subcategory_name:
                  type: string
                  description: Subcategory name
              required:
                - selling_price
              description: Publish product request
      responses:
        '201':
          description: Created sellable product
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  sellable_product:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      name:
                        type: string
                      selling_price:
                        type: number
                      is_active:
                        type: boolean
                      scraped_product_id:
                        type: string
                        format: uuid
                    required:
                      - id
                      - name
                      - selling_price
                      - is_active
                      - scraped_product_id
                required:
                  - success
                  - sellable_product
                description: Publish product response
        '404':
          description: Scraped product not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
                description: Error response
        '409':
          description: Sellable product already exists
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
                description: Error response
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
                description: Error response

````