# GetListing

## Overview

GetListing retrieves one listing with channel, item, identifier, and sellability detail.

## Business Rules

- Lookup by id performs an exact listing match.
- The query returns DRAFT, ACTIVE, PAUSED, and RETIRED listings.

## Process Flow

```mermaid
flowchart TD
    A[Receive listing id] --> B[Query Listing]
    B --> C{Found?}
    C -->|No| D[Return null]
    C -->|Yes| E[Return listing]
```

## External Dependencies

- None

## Error Scenarios

- None (returns null when no matching listing exists)

## Test Cases

- returns listing when found by id
- returns retired listing when requested directly
- returns null when listing is not found
