Marketplace API / Mutations

sendDirectMessage

Sends a direct message to a member as the caller. A first message creates a message request in the recipient's requests inbox, unless the two members follow each other, share a purchased order or an offer in this marketplace, or the caller is the active marketplace owner and the recipient is an active member or an applicant. A reply from the recipient of a request accepts it. A repeat with the same key and input returns the first message. A caller can send at most 20 direct messages a minute and 200 in 24 hours (DirectMessageRateLimitWindow). A send over a limit gives DirectMessageRateLimitedError, also a repeat of a key whose first send has not finished.

sendDirectMessage(
  input: SendDirectMessageInput!
): SendDirectMessagePayload!

Arguments

ArgumentTypeDescription
inputSendDirectMessageInput!The message to send.

Return type

SendDirectMessagePayload!