> ## 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.

# Create a partner brand

> Creates a new partner brand. Can optionally set as approved immediately.



## OpenAPI

````yaml api-reference/v1/openapi.yaml post /v1/admin/partners/brands
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/admin/partners/brands:
    post:
      tags:
        - Admin - Partners
      summary: Create a partner brand
      description: Creates a new partner brand. Can optionally set as approved immediately.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                company_name:
                  type: string
                  minLength: 1
                contact_email:
                  type: string
                  format: email
                contact_phone:
                  type: string
                website_url:
                  type: string
                  format: uri
                business_type:
                  type: string
                  enum:
                    - manufacturer
                    - distributor
                    - artisan
                    - farm
                    - importer
                    - other
                company_logo_url:
                  type: string
                  format: uri
                return_address_line1:
                  type: string
                return_address_line2:
                  type: string
                return_city:
                  type: string
                return_state:
                  type: string
                return_postal_code:
                  type: string
                return_country_code:
                  type: string
                  default: US
                default_commission_rate_ambient:
                  type: number
                  minimum: 0
                  maximum: 1
                default_commission_rate_cold:
                  type: number
                  minimum: 0
                  maximum: 1
                approval_status:
                  type: string
                  enum:
                    - pending
                    - approved
                  default: pending
                notes:
                  type: string
              required:
                - company_name
                - contact_email
      responses:
        '201':
          description: Partner brand created
          content:
            application/json:
              schema:
                type: object
                properties:
                  partner_brand:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      brand_id:
                        type: string
                        nullable: true
                        format: uuid
                      user_id:
                        type: string
                        nullable: true
                        format: uuid
                      company_name:
                        type: string
                      contact_email:
                        type: string
                        format: email
                      contact_phone:
                        type: string
                        nullable: true
                      business_type:
                        type: string
                        nullable: true
                      company_logo_url:
                        type: string
                        nullable: true
                      website_url:
                        type: string
                        nullable: true
                      return_address_line1:
                        type: string
                        nullable: true
                      return_address_line2:
                        type: string
                        nullable: true
                      return_city:
                        type: string
                        nullable: true
                      return_state:
                        type: string
                        nullable: true
                      return_postal_code:
                        type: string
                        nullable: true
                      return_country_code:
                        type: string
                        nullable: true
                      payout_method:
                        type: string
                        nullable: true
                        enum:
                          - ach
                          - check
                          - stripe
                      approval_status:
                        type: string
                        enum:
                          - pending
                          - approved
                          - rejected
                          - suspended
                      approved_at:
                        type: string
                        nullable: true
                        format: date-time
                      rejection_reason:
                        type: string
                        nullable: true
                      default_commission_rate_ambient:
                        type: number
                        nullable: true
                      default_commission_rate_cold:
                        type: number
                        nullable: true
                      created_at:
                        type: string
                        format: date-time
                      updated_at:
                        type: string
                        format: date-time
                    required:
                      - id
                      - brand_id
                      - user_id
                      - company_name
                      - contact_email
                      - contact_phone
                      - business_type
                      - company_logo_url
                      - website_url
                      - return_address_line1
                      - return_address_line2
                      - return_city
                      - return_state
                      - return_postal_code
                      - return_country_code
                      - payout_method
                      - approval_status
                      - approved_at
                      - rejection_reason
                      - default_commission_rate_ambient
                      - default_commission_rate_cold
                      - created_at
                      - updated_at
                required:
                  - partner_brand
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error

````