All Products
Search
Document Center

Direct Mail:SaveReceiverDetail

Last Updated:Aug 08, 2023

SaveReceiverDetail create a single recipient

Request parameters

Parameter

Type

Required

Description

Action

String

Yes

The operation that you want to perform. Valid values: SaveReceiverDetail

ReceiverId

String

Yes

The ID of the recipient list.

Detail

String

Yes

Content, with a limit of 500 records at a time. Example: [{"b":"birthday","e":"xxx@alibaba-inc.com","g":"gender","m":"mobile","n":"nickname","u":"name"}]

For more information about other request parameters, see Public request parameters.

Response parameters

Parameter

Type

Example

Description

ErrorCount

Integer

638

Number of errors

RequestId

String

10A1AD70-E48E-476D-98D9-39BD92193837

The ID of the request.

SuccessCount

Integer

274

Number of successes

Data

Object []

Failed recipient list

Email

String

test@mail.com

Email address

Examples

Sample requests

http(s)://dm.aliyuncs.com/?Action=SaveReceiverDetail
&ReceiverId=34642
&Detail=[{"b":"birthday","e":"xxx@alibaba-inc.com","g":"gender","m":"mobile","n":"nickname","u":"name"}]
&<Common request parameters>

Sample success responses

JSON format

{
  "RequestId": "CA225B85-DC42-520D-84A3-0B8FF424CA9C",
  "Data": {
    "Detail": []
  },
  "ErrorCount": 0,
  "SuccessCount": 1
}