{"sections":[],"abstract":[{"text":"Get information about a listing in the marketplace.","type":"text"}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getListing","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"input","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO"},{"text":".","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing","text":"GetListing","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO"},{"text":".","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Input","text":"Input","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO5InputV"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO"},{"text":".","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing","text":"GetListing","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO6OutputO","kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Output","text":"Output"}],"languages":["swift"]}]},{"kind":"content","content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Views the data associated with a listing in the marketplace."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"In case of authenticated as an inventory owner, items that not only have the "},{"code":"For Sale","type":"codeVoice"},{"type":"text","text":" state will be shown as well as other extra fields in those items such as "},{"code":"weight","type":"codeVoice"},{"type":"text","text":", "},{"code":"format_quality","type":"codeVoice"},{"type":"text","text":", "},{"code":"external_id","type":"codeVoice"},{"type":"text","text":", "},{"code":"location","type":"codeVoice"},{"type":"text","text":", and "},{"code":"quantity_keys","type":"codeVoice"},{"type":"text","text":". Note that the "},{"type":"codeVoice","code":"quantity"},{"type":"text","text":" field is read-only for "},{"inlineContent":[{"type":"text","text":"NearMint"}],"type":"emphasis"},{"type":"text","text":" users, who will see "},{"inlineContent":[{"type":"text","text":"1"}],"type":"emphasis"},{"type":"text","text":" for all quantity values, regardless of their actual count."}]},{"type":"paragraph","inlineContent":[{"text":"In case the user is authorized, the listing will contain a ","type":"text"},{"type":"codeVoice","code":"in_cart"},{"text":" boolean field indicating whether or not this listing is in their cart.","type":"text"}]},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"HTTP ","type":"text"},{"type":"codeVoice","code":"GET \/marketplace\/listings\/{listing_id}"},{"text":".","type":"text"}]}],"type":"aside","name":"Remark"},{"type":"aside","style":"note","content":[{"inlineContent":[{"type":"text","text":"Generated from "},{"code":"#\/paths\/\/marketplace\/listings\/{listing_id}\/get(getListing)","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"Remark"}]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/APIP