POST Customer/CreateMembership

Request Information

URI Parameters

None.

Body Parameters

PeopleVineMembership
NameDescriptionTypeAdditional information
next_date

date

None.

renewal_date

date

None.

membership_no

string

None.

address

string

None.

address2

string

None.

address3

string

None.

birthdate

date

None.

city

string

None.

country

string

None.

zip_code

string

None.

customer_reference

string

None.

customer_no

string

None.

customer_source

string

None.

email

string

None.

first_name

string

None.

last_name

string

None.

gender

string

None.

mobile_number

string

None.

opt_in_email

boolean

None.

opt_in_sms

boolean

None.

modified_on

date

None.

created_on

date

None.

Request Formats

application/json, text/json

Sample:
{
  "next_date": "2024-10-17T11:29:52.941712+01:00",
  "renewal_date": "2024-10-17T11:29:52.941712+01:00",
  "membership_no": "sample string 1",
  "address": "sample string 2",
  "address2": "sample string 3",
  "address3": "sample string 4",
  "birthdate": "2024-10-17T11:29:52.941712+01:00",
  "city": "sample string 5",
  "country": "sample string 6",
  "zip_code": "sample string 7",
  "customer_reference": "sample string 8",
  "customer_no": "sample string 9",
  "customer_source": "sample string 10",
  "email": "sample string 11",
  "first_name": "sample string 12",
  "last_name": "sample string 13",
  "gender": "sample string 14",
  "mobile_number": "sample string 15",
  "opt_in_email": true,
  "opt_in_sms": true,
  "modified_on": "2024-10-17T11:29:52.941712+01:00",
  "created_on": "2024-10-17T11:29:52.941712+01:00"
}

application/xml, text/xml

Sample:
<PeopleVineMembership xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Models">
  <address xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 2</address>
  <address2 xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 3</address2>
  <address3 xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 4</address3>
  <birthdate xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">2024-10-17T11:29:52.941712+01:00</birthdate>
  <city xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 5</city>
  <country xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 6</country>
  <created_on xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">2024-10-17T11:29:52.941712+01:00</created_on>
  <customer_no xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 9</customer_no>
  <customer_reference xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 8</customer_reference>
  <customer_source xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 10</customer_source>
  <email xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 11</email>
  <first_name xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 12</first_name>
  <gender xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 14</gender>
  <last_name xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 13</last_name>
  <mobile_number xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 15</mobile_number>
  <modified_on xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">2024-10-17T11:29:52.941712+01:00</modified_on>
  <opt_in_email xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">true</opt_in_email>
  <opt_in_sms xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">true</opt_in_sms>
  <zip_code xmlns="http://schemas.datacontract.org/2004/07/PeopleVineWebhook.Controllers">sample string 7</zip_code>
  <membership_no>sample string 1</membership_no>
  <next_date>2024-10-17T11:29:52.941712+01:00</next_date>
  <renewal_date>2024-10-17T11:29:52.941712+01:00</renewal_date>
</PeopleVineMembership>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.