XM
Members
Retrieve Single Subscriber
This documentation is now outdated, please find the latest docs for this endpoint here
Path:
1
GET https://{baseurl}/data-subscription/customers/{customerID}
Copied!
Retrieve details of the specified subscriber.

Headers

Content-Type : application/json
Authorization: The JWT Authorization toke from the Login API.
x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox"

Parameters

Type : query
Name : The customer ID.
Required: true

Sample Path

1
https://{baseURL}/data-subscription/subscriptions/customers/6068efcdb89ba600081ea618
Copied!

Sample Response

Response Code: 200
Message: OK
1
{
2
"success": true,
3
"responseStatus": "OK",
4
"message": "Request processed successfully.",
5
"data": {
6
"isDeleted": false,
7
"deletedAt": null,
8
"_id": "6068efcdb89ba600081ea618",
9
"stripeId": "cus_JElkvWLG5Lu1cb",
10
"customerEmail": "[email protected]",
11
"customerReferenceId": "[email protected]",
12
"customerFullName": "test",
13
"paymentMethodId": [
14
{
15
"isDeleted": false,
16
"_id": "6068efcdb89ba600081ea619",
17
"paymentMethodId": "pm_1ISekkETggmgrCy2b7osIpl8",
18
"isDefault": "true"
19
}
20
],
21
"createdAt": "2021-04-03T22:44:29.656Z",
22
"updatedAt": "2021-04-11T09:25:11.654Z",
23
"__v": 0,
24
"merchantAccount": "5fc78dfc6135050007191290"
25
}
26
}
Copied!
Response Code: 400
Message: Client Error
Response Code: 500
Message: Server Error

Changelog

  • April-2021
Last modified 1mo ago
Copy link
Contents
Changelog