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

# Update a link

> Update link properties such as property name, move-in date, or status. Set status to "inactive" to disable a link without deleting it.



## OpenAPI

````yaml https://api.offergrid.io/openapi-reseller patch /reseller/links/{id}
openapi: 3.0.0
info:
  title: OfferGrid API
  description: >-
    **Reseller API** - Browse service catalog and place orders on behalf of
    customers.


    As a reseller, you can:

    - Browse available service offerings from providers

    - Filter offers by category, price, location, and search terms

    - View detailed offer information including pricing and features

    - Place orders for customers (single or multi-provider orders)

    - Track order status and fulfillment progress

    - Cancel pending orders
  version: '1.0'
  contact: {}
servers:
  - url: https://api.offergrid.io
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags:
  - name: reseller-catalog
    description: 'Reseller: Browse available service offerings'
  - name: reseller-availability
    description: 'Reseller: Find offers available at a service address'
  - name: reseller-orders
    description: 'Reseller: Place and manage orders'
  - name: reseller-customers
    description: 'Reseller: Manage customers and leads'
  - name: reseller-links
    description: 'Reseller: Manage shareable customer links'
paths:
  /reseller/links/{id}:
    patch:
      tags:
        - reseller-links
      summary: Update a link
      description: >-
        Update link properties such as property name, move-in date, or status.
        Set status to "inactive" to disable a link without deleting it.
      operationId: ResellerLinksController_update
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLinkDto'
      responses:
        '200':
          description: Link successfully updated
        '404':
          description: Link not found or does not belong to your team
      security:
        - api-key: []
components:
  schemas:
    UpdateLinkDto:
      type: object
      properties:
        propertyName:
          type: string
          description: Property name or description
          example: Sunset Apartments Unit 205
        moveInDate:
          type: string
          description: Expected move-in date (ISO 8601)
          example: '2025-02-01'
        status:
          type: string
          description: Link status
          enum:
            - active
            - inactive
          example: active
      title: Update Link Request
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Team API key for authentication. Your team role
        (provider/reseller/hybrid) determines which endpoints you can access.

````