{"abstract":[{"text":"Add a message to an order.","type":"text"}],"variants":[{"paths":["\/documentation\/discogsservice\/operations\/addordermessage"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage"},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"DiscogsService"}],"role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AddOrderMessage","kind":"identifier"}],"navigatorTitle":[{"text":"AddOrderMessage","kind":"identifier"}],"title":"Operations.AddOrderMessage","symbolKind":"enum","externalID":"s:14DiscogsService10OperationsO15AddOrderMessageO","roleHeading":"Enumeration"},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AddOrderMessage","kind":"identifier"}],"platforms":["macOS"]}]},{"content":[{"anchor":"overview","type":"heading","level":2,"text":"Overview"},{"type":"paragraph","inlineContent":[{"text":"Adds a new message to the order’s message log.","type":"text"}]},{"type":"paragraph","inlineContent":[{"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":"text"},{"inlineContent":[{"type":"text","text":"Seller changed status from Old Status to New Status"}],"type":"emphasis"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"While both "},{"type":"codeVoice","code":"message"},{"type":"text","text":" and "},{"type":"codeVoice","code":"status"},{"type":"text","text":" properties are each optional, one or both must be present."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This endpoint requires authentication as a seller."}]},{"name":"Remark","style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":"HTTP "},{"type":"codeVoice","code":"POST \/marketplace\/orders\/{order_id}\/messages"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"Remark","style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":"Generated from "},{"type":"codeVoice","code":"#\/paths\/\/marketplace\/orders\/{order_id}\/messages\/post(addOrderMessage)"},{"type":"text","text":"."}],"type":"paragraph"}]}],"kind":"content"}],"kind":"symbol","sections":[],"topicSections":[{"title":"Structures","generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage\/Input"],"anchor":"Structures"},{"title":"Type Properties","generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage\/id"],"anchor":"Type-Properties"},{"title":"Enumerations","generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage\/AcceptableContentType","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage\/Output"],"anchor":"Enumerations"}],"references":{"doc://DiscogsService/documentation/DiscogsService/Operations/AddOrderMessage":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"AddOrderMessage"}],"kind":"symbol","role":"symbol","title":"Operations.AddOrderMessage","url":"\/documentation\/discogsservice\/operations\/addordermessage","abstract":[{"text":"Add a message to an order.","type":"text"}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"AddOrderMessage"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/AddOrderMessage"},"doc://DiscogsService/documentation/DiscogsService/Operations/AddOrderMessage/Input":{"url":"\/documentation\/discogsservice\/operations\/addordermessage\/input","navigatorTitle":[{"kind":"identifier","text":"Input"}],"abstract":[],"