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

# Update credential

> Available only for offers with `credential_system_type_id = 3` (MULTIPLE / credential-mode).
     *
     * `credential_system_type_id` is the authoritative delivery-mode field. Values: 1 = No Credentials (manual delivery via chat),
     * 2 = Single (deprecated — coerced to MULTIPLE on write), 3 = Multiple.



## OpenAPI

````yaml /api-docs.json put /api/shop/marketplace/offers/{offerId}/credentials/{credentialId}
openapi: 3.0.0
info:
  title: Currency Marketplace API
  description: API documentation for Currency Marketplace
  version: 1.0.0
servers:
  - url: https://skycoach.gg/
    description: API Server
security: []
tags:
  - name: Currency Marketplace
    description: Currency Marketplace
  - name: Offers
    description: Offers
  - name: Offer Credentials
    description: Offer Credentials
paths:
  /api/shop/marketplace/offers/{offerId}/credentials/{credentialId}:
    put:
      tags:
        - Offer Credentials
      summary: Update credential
      description: >-
        Available only for offers with `credential_system_type_id = 3` (MULTIPLE
        / credential-mode).
             *
             * `credential_system_type_id` is the authoritative delivery-mode field. Values: 1 = No Credentials (manual delivery via chat),
             * 2 = Single (deprecated — coerced to MULTIPLE on write), 3 = Multiple.
      operationId: b64831d806972f98fa011143f8eb290f
      parameters:
        - name: Accept
          in: header
          description: API response format
          required: true
          schema:
            type: string
            default: application/json
            enum:
              - application/json
        - name: offerId
          in: path
          required: true
          schema:
            type: integer
            example: 123
        - name: credentialId
          in: path
          required: true
          schema:
            type: integer
            example: 456
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
                - login
                - game_password
              properties:
                login:
                  type: string
                  maxLength: 255
                  example: user@example.com
                game_password:
                  type: string
                  maxLength: 255
                  example: SecurePass123
                email:
                  type: string
                  format: email
                  nullable: true
                email_password:
                  description: Required if email is provided
                  type: string
                  nullable: true
                is_2fa_active:
                  type: boolean
                  nullable: true
                comment:
                  type: string
                  maxLength: 1000
                  nullable: true
              type: object
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  result:
                    properties:
                      id:
                        type: integer
                        example: 1
                      status:
                        type: integer
                        example: 1
                      updated_at:
                        type: string
                        format: date-time
                    type: object
                type: object
        '400':
          description: Validation error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
                type: object
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Forbidden.
                type: object
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````