POST Customer/Post
Request Information
URI Parameters
None.
Body Parameters
ShopifyCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| addresses | Collection of Default_Address |
None. |
|
| default_address | Default_Address |
None. |
|
| admin_graphql_api_id | string |
None. |
|
| created_at | date |
None. |
|
| currency | string |
None. |
|
| string |
None. |
||
| email_marketing_consent | Email_Marketing_Consent |
None. |
|
| first_name | string |
None. |
|
| id | integer |
None. |
|
| last_name | string |
None. |
|
| last_order_id | Object |
None. |
|
| last_order_name | Object |
None. |
|
| multipass_identifier | Object |
None. |
|
| note | string |
None. |
|
| orders_count | integer |
None. |
|
| phone | string |
None. |
|
| sms_marketing_consent | Object |
None. |
|
| state | string |
None. |
|
| tags | string |
None. |
|
| tax_exempt | boolean |
None. |
|
| tax_exemptions | Collection of Object |
None. |
|
| total_spent | string |
None. |
|
| updated_at | date |
None. |
|
| verified_email | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"addresses": [
{
"address1": "sample string 1",
"address2": "sample string 2",
"city": "sample string 3",
"company": {},
"country": "sample string 5",
"country_code": "sample string 6",
"country_name": "sample string 7",
"customer_id": 8,
"_default": true,
"first_name": {},
"id": 11,
"last_name": {},
"name": "sample string 13",
"phone": "sample string 14",
"province": "sample string 15",
"province_code": "sample string 16",
"zip": "sample string 17"
},
{
"address1": "sample string 1",
"address2": "sample string 2",
"city": "sample string 3",
"company": {},
"country": "sample string 5",
"country_code": "sample string 6",
"country_name": "sample string 7",
"customer_id": 8,
"_default": true,
"first_name": {},
"id": 11,
"last_name": {},
"name": "sample string 13",
"phone": "sample string 14",
"province": "sample string 15",
"province_code": "sample string 16",
"zip": "sample string 17"
}
],
"default_address": {
"address1": "sample string 1",
"address2": "sample string 2",
"city": "sample string 3",
"company": {},
"country": "sample string 5",
"country_code": "sample string 6",
"country_name": "sample string 7",
"customer_id": 8,
"_default": true,
"first_name": {},
"id": 11,
"last_name": {},
"name": "sample string 13",
"phone": "sample string 14",
"province": "sample string 15",
"province_code": "sample string 16",
"zip": "sample string 17"
},
"admin_graphql_api_id": "sample string 1",
"created_at": "2025-12-10T03:44:20.8228512+00:00",
"currency": "sample string 3",
"email": "sample string 4",
"email_marketing_consent": {
"consent_updated_at": "2025-12-10T03:44:20.8228512+00:00",
"opt_in_level": {},
"state": "sample string 2"
},
"first_name": "sample string 5",
"id": 6,
"last_name": "sample string 7",
"last_order_id": {},
"last_order_name": {},
"multipass_identifier": {},
"note": "sample string 11",
"orders_count": 12,
"phone": "sample string 13",
"sms_marketing_consent": {},
"state": "sample string 15",
"tags": "sample string 16",
"tax_exempt": true,
"tax_exemptions": [
{},
{}
],
"total_spent": "sample string 18",
"updated_at": "2025-12-10T03:44:20.8228512+00:00",
"verified_email": true
}
application/xml, text/xml
Sample:
<ShopifyCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopifyWebhook.Models">
<addresses>
<Default_Address>
<_default>true</_default>
<address1>sample string 1</address1>
<address2>sample string 2</address2>
<city>sample string 3</city>
<company />
<country>sample string 5</country>
<country_code>sample string 6</country_code>
<country_name>sample string 7</country_name>
<customer_id>8</customer_id>
<first_name />
<id>11</id>
<last_name />
<name>sample string 13</name>
<phone>sample string 14</phone>
<province>sample string 15</province>
<province_code>sample string 16</province_code>
<zip>sample string 17</zip>
</Default_Address>
<Default_Address>
<_default>true</_default>
<address1>sample string 1</address1>
<address2>sample string 2</address2>
<city>sample string 3</city>
<company />
<country>sample string 5</country>
<country_code>sample string 6</country_code>
<country_name>sample string 7</country_name>
<customer_id>8</customer_id>
<first_name />
<id>11</id>
<last_name />
<name>sample string 13</name>
<phone>sample string 14</phone>
<province>sample string 15</province>
<province_code>sample string 16</province_code>
<zip>sample string 17</zip>
</Default_Address>
</addresses>
<admin_graphql_api_id>sample string 1</admin_graphql_api_id>
<created_at>2025-12-10T03:44:20.8228512+00:00</created_at>
<currency>sample string 3</currency>
<default_address>
<_default>true</_default>
<address1>sample string 1</address1>
<address2>sample string 2</address2>
<city>sample string 3</city>
<company />
<country>sample string 5</country>
<country_code>sample string 6</country_code>
<country_name>sample string 7</country_name>
<customer_id>8</customer_id>
<first_name />
<id>11</id>
<last_name />
<name>sample string 13</name>
<phone>sample string 14</phone>
<province>sample string 15</province>
<province_code>sample string 16</province_code>
<zip>sample string 17</zip>
</default_address>
<email>sample string 4</email>
<email_marketing_consent>
<consent_updated_at>2025-12-10T03:44:20.8228512+00:00</consent_updated_at>
<opt_in_level />
<state>sample string 2</state>
</email_marketing_consent>
<first_name>sample string 5</first_name>
<id>6</id>
<last_name>sample string 7</last_name>
<last_order_id />
<last_order_name />
<multipass_identifier />
<note>sample string 11</note>
<orders_count>12</orders_count>
<phone>sample string 13</phone>
<sms_marketing_consent />
<state>sample string 15</state>
<tags>sample string 16</tags>
<tax_exempt>true</tax_exempt>
<tax_exemptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</tax_exemptions>
<total_spent>sample string 18</total_spent>
<updated_at>2025-12-10T03:44:20.8228512+00:00</updated_at>
<verified_email>true</verified_email>
</ShopifyCustomer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.