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

# Logout merchant and invalidate tokens

> Route: MerchantAuthV2Service.logoutMerchant



## OpenAPI

````yaml https://apiv3.droplinked.com/swagger/json post /merchant/logout
openapi: 3.0.0
info:
  title: droplinked Core API
  description: >-
    Complete API documentation for droplinked’s eCommerce infrastructure.


    The Core API provides all essential endpoints to build and manage modern
    online stores — including merchant authentication, product and collection
    management, carts, orders, payments, and more.

    Use these APIs to create fully integrated Web2 and Web3 commerce experiences
    powered by droplinked.
  version: 2.0.1
servers:
  - url: https://api.io.droplinked.com
    description: Primary production API server
security: []
paths:
  /merchant/logout:
    post:
      tags:
        - Merchant
      summary: Logout merchant and invalidate tokens
      description: 'Route: MerchantAuthV2Service.logoutMerchant'
      operationId: logout-merchant
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                description: NestJS BadRequestException response
                properties:
                  statusCode:
                    type: number
                    example: 400
                  message:
                    type: string
                    example: Bad Request
                  error:
                    type: string
                    example: Invalid input data
                required:
                  - statusCode
                  - message
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                description: NestJS NotFoundException response
                properties:
                  statusCode:
                    type: number
                    example: 404
                  message:
                    type: string
                    example: Not Found
                  error:
                    type: string
                    example: Resource not found
                required:
                  - statusCode
                  - message
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                description: NestJS InternalServerErrorException response
                properties:
                  statusCode:
                    type: number
                    example: 500
                  message:
                    type: string
                    example: Internal Server Error
                  error:
                    type: string
                    example: An unexpected error occurred
                required:
                  - statusCode
                  - message
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````