Files
discogs-service/docs/data/documentation/discogsservice/apiprotocol/addordermessage(_:).json
T

1 line
41 KiB
JSON
Raw Normal View History

2026-03-24 01:54:43 +00:00
{"metadata":{"role":"symbol","externalID":"s:14DiscogsService11APIProtocolP15addOrderMessageyAA10OperationsO03AddeF0O6OutputOAH5InputVYaKF","required":true,"symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addOrderMessage","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO","text":"AddOrderMessage","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Input","preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO5InputV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"async"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO"},{"text":".","kind":"text"},{"text":"AddOrderMessage","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO"},{"text":".","kind":"text"},{"text":"Output","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO6OutputO"}],"modules":[{"name":"DiscogsService"}],"roleHeading":"Instance Method","title":"addOrderMessage(_:)"},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addOrderMessage","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"input"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO","text":"AddOrderMessage","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO5InputV","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage\/Input","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage","preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO","text":"AddOrderMessage","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage\/Output","preciseIdentifier":"s:14DiscogsService10OperationsO15AddOrderMessageO6OutputO","text":"Output","kind":"typeIdentifier"}]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"type":"paragraph","inlineContent":[{"text":"Adds a new message to the orders message log.","type":"text"}]},{"inlineContent":[{"type":"text","text":"When posting a new message, it is also possible to update the order status. In this case, the message will automatically be prepended with: "},{"type":"emphasis","inlineContent":[{"type":"text","text":"Seller changed status from Old Status to New Status"}]}],"type":"paragraph"},{"inlineContent":[{"text":"While both ","type":"text"},{"type":"codeVoice","code":"message"},{"type":"text","text":" and "},{"type":"codeVoice","code":"status"},{"text":" properties are each optional, one or both must be present.","type":"text"}],"type":"paragrap