UpdateMember
From ePrize Developers Wiki
(Difference between revisions)
m (→updateMember) |
|||
(One intermediate revision not shown.) | |||
Line 1: | Line 1: | ||
- | == | + | ==Summary== |
- | + | ||
- | + | ||
Update members profile information | Update members profile information | ||
Current revision
Summary
Update members profile information
Resource POST api/v1/updateMember
Parameters
- firstName
- lastName
- address1
- address2
- city
- state
- zipCode
- memberId
- emailAddress
- emailOptIn
- mobileOptIn
{ "memberId": 278000000118, "firstName": "Jon", "lastName": "Doe", "address1": "1 ePrize Dr", "address2": “This Bldg”, "city": "Pleasant Ridge", "state": "MI", "zipCode": "48033", "emailAddress": “jon.doe@helloworld.com”, "emailOptIn": true, "mobileOptIn": true, }
Example Response: Success
{ "success": true }
Example Response: Invalid Member Id
{ "Error": { "Code": "error.business.Validation", "Message": "Error for attribute: Member Id\nThis is an invalid code.\n" } }