- Emole Developer FrontEnd APi EndPoints
- Authintication
- Api Flow Chart
- Public Back In Stock Subscription
- Public Blog
- Public Category
- Public Checkout
- Get order summary
- Get all billing addresses
- Select billing address
- Add a new billing address
- Get all pickup points
- Get all shipping addresses
- Select shipping address
- Add a new shipping address
- Get all shipping methods
- Select shipping method
- Get all payment methods
- Select payment method
- Prepare payment info model
- Validate the payment info
- Prepare confirm order model
- Confirm and pay the order
- Get completed order info
- Public Common
- Public Customer
- Impersonate a customer
- Get guest token to continue as a guest
- Prepare login model
- Login
- Logout
- Refresh access token on expiration
- Prepare password recovery model
- Submit password recovery request
- Prepare the customer registration model
- Submit the customer register request
- Check username availability
- Prepare customer navigation model
- Get the customer info
- Update the customer info
- Delete the external authentication record
- Get customer addresses
- Delete the customer address
- Prepare the add new customer address model
- Add a new customer address
- Get specific customer address
- Update the customer address
- Get the customer downloadable products
- Get user agreement
- Prepare change password model
- Submit the change password request
- Get customer avatar
- Upload customer avatar
- Remove customer avatar
- Prepare GDPR tools model
- Export customer GDPR info
- Delete request of GDPR info
- Prepare check gift card balance model
- Check gift card balance
- Public Download
- Public Forum
- Get all forums
- Get all active discussions
- Get active discussions in small for forum's index page
- Get specific forum group
- Get specific forum
- Watch/Unwatch forum
- Get specific forum topic
- Watch/Unwatch forum topic
- Prepare the move topic model
- Move topic to another forum
- Delete topic
- Prepare create topic model
- Create a new forum topic
- Prepare edit topic model
- Update the forum topic
- Delete the post
- Prepare create post model
- Create a new forum topic post
- Prepare edit post model
- Update the post
- Vote the post
- Get last/latest post
- Search into forum
- Get customer forum subscriptions
- Delete customer forum subscriptions
- Prepare customer profile model
- Public General
- Get Topic
- Ping to check the api server status
- Get all locale string resources
- Get all settings of current store
- Get header links info
- Get footer info
- Get polls to be displayed on home page
- Vote a poll
- Get all topics
- Authenticate the topic(page)
- Get nivo slider images(plugin)
- Prepare the contact us model
- Submit the contact us request
- Prepare the contact vendor model
- Submit the contact vendor request
- Prepare newsletter box model
- Subscribe to the news letters
- Public Manufacturer
- Public News
- Public Order
- Public Private Messages
- Public Product
- Get products to be displayed on home page
- Get best selling products
- Get a product details
- Change and apply product attributes
- Estimate shipping
- Get product combinations
- Get marked as new products
- Get product reviews
- Add a new product review
- Set product review helpfulness
- Get customer product reviews
- Prepare product email a friend model
- Email the product to a friend
- Get popular product tags
- Get products by tag
- Get related products
- Get cross sell products
- Get also purchased products
- Public Return Request
- Public Search
- Public Shopping Cart
- Get selected checkout attributes
- Change and apply checkout attributes
- Upload product attribute file
- Upload checkout attribute file
- Get customer cart
- Delete cart items
- Update quantities of the cart items
- Add product to the cart
- Apply discount coupon
- Apply gift card coupon
- Prepare estimate shipping model
- Estimate shipping
- Select shipping option
- Remove discount coupon
- Remove gift card coupon
- Get order totals
- Start checkout (to validate cart and go on checkout page)
- Get customer wish list
- Add product to wish list
- Delete wish list items
- Update quantities of wish list items
- Move wish list items to cart
- Prepare email wish list model
- Send wish list link on email
- Public Vendor
- Emole Developer BackEnd Api
- categories
- customers
- languages
- manufacturers
- news letter subscriptions
- orders
- productattributes
- product category mappings
- product manufacturer mappings
- products
- productspecificationattributes
- shopping cart items
- specificationattributes
- topics
- token
- Get CountriesGET
- Get All Customer RolesGET
- Get Current StoreGET
- Get All StoresGET
Update Customer
PUT
https://test.e-mole.net/api/customers/{id}
Last modified:2025-02-03 20:25:16
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
string
required
Example:
dolor
Header Params
Content-Type
string
required
Example:
application/json
Accept
string
required
Example:
text/plain
Body Params application/json
ObjectPropertyNameValuePairs
object
required
fugiat3
object
required
customer
object
required
shopping_cart_items
array [object {1}]
required
billing_address
object
required
shipping_address
object
required
addresses
array [object {1}]
required
customer_guid
string
required
username
string
required
email
string
required
first_name
string
required
last_name
string
required
language_id
string
required
date_of_birth
string
required
gender
string
required
admin_comment
string
required
is_tax_exempt
boolean
required
has_shopping_cart_items
boolean
required
active
boolean
required
deleted
boolean
required
is_system_account
boolean
required
system_name
string
required
last_ip_address
string
required
created_on_utc
string
required
last_login_date_utc
string
required
last_activity_date_utc
string
required
registered_in_store_id
integer
required
subscribed_to_newsletter
boolean
required
role_ids
array[integer]
required
id
integer
required
Example
{
"ObjectPropertyNameValuePairs": {
"fugiat3": {}
},
"customer": {
"shopping_cart_items": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"billing_address": {
"first_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"last_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"email": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"company": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"state_province_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"city": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address1": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address2": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"zip_postal_code": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"phone_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fax_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"customer_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"created_on_utc": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"province": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"shipping_address": {
"first_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"last_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"email": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"company": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"state_province_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"city": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address1": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address2": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"zip_postal_code": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"phone_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fax_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"customer_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"created_on_utc": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"province": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"addresses": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"customer_guid": "urn:uuid:37ecfad3-5a80-96fe-4533-66eaee47b371",
"username": "in tempor culpa ipsum",
"email": "nulla si",
"first_name": "proident eu labore exercitation",
"last_name": "magna e",
"language_id": "ipsum Excepteur qui",
"date_of_birth": "2005-07-07T07:01:29.258Z",
"gender": "aliqui",
"admin_comment": "laboris",
"is_tax_exempt": true,
"has_shopping_cart_items": false,
"active": true,
"deleted": false,
"is_system_account": false,
"system_name": "irure eiusmod ",
"last_ip_address": "consequat eu Lorem",
"created_on_utc": "1946-08-09T10:00:25.249Z",
"last_login_date_utc": "2019-02-26T09:41:09.794Z",
"last_activity_date_utc": "1989-02-23T03:58:41.645Z",
"registered_in_store_id": -89129886,
"subscribed_to_newsletter": true,
"role_ids": [
80270112,
-93340670
],
"id": -16261442
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://test.e-mole.net/api/customers/dolor' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--data-raw '{
"ObjectPropertyNameValuePairs": {
"fugiat3": {}
},
"customer": {
"shopping_cart_items": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"billing_address": {
"first_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"last_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"email": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"company": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"state_province_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"city": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address1": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address2": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"zip_postal_code": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"phone_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fax_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"customer_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"created_on_utc": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"province": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"shipping_address": {
"first_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"last_name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"email": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"company": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"country": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"state_province_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"city": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address1": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"address2": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"zip_postal_code": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"phone_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fax_number": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"customer_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"created_on_utc": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"province": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"addresses": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"customer_guid": "urn:uuid:37ecfad3-5a80-96fe-4533-66eaee47b371",
"username": "in tempor culpa ipsum",
"email": "nulla si",
"first_name": "proident eu labore exercitation",
"last_name": "magna e",
"language_id": "ipsum Excepteur qui",
"date_of_birth": "2005-07-07T07:01:29.258Z",
"gender": "aliqui",
"admin_comment": "laboris",
"is_tax_exempt": true,
"has_shopping_cart_items": false,
"active": true,
"deleted": false,
"is_system_account": false,
"system_name": "irure eiusmod ",
"last_ip_address": "consequat eu Lorem",
"created_on_utc": "1946-08-09T10:00:25.249Z",
"last_login_date_utc": "2019-02-26T09:41:09.794Z",
"last_activity_date_utc": "1989-02-23T03:58:41.645Z",
"registered_in_store_id": -89129886,
"subscribed_to_newsletter": true,
"role_ids": [
80270112,
-93340670
],
"id": -16261442
}
}'
Responses
🟢200Success
application/json
Body
customers
array [object {27}]
required
shopping_cart_items
array [object {1}]
required
billing_address
object
required
shipping_address
object
required
addresses
array [object {1}]
required
customer_guid
string
required
username
string
required
email
string
required
first_name
string
required
last_name
string
required
language_id
string
required
date_of_birth
string
required
gender
string
required
admin_comment
string
required
is_tax_exempt
boolean
required
has_shopping_cart_items
boolean
required
active
boolean
required
deleted
boolean
required
is_system_account
boolean
required
system_name
string
required
last_ip_address
string
required
created_on_utc
string
required
last_login_date_utc
string
required
last_activity_date_utc
string
required
registered_in_store_id
integer
required
subscribed_to_newsletter
boolean
required
role_ids
array [object {1}]
required
id
integer
required
Example
{
"customers": [
{
"shopping_cart_items": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"billing_address": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"shipping_address": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"addresses": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"customer_guid": "015a5e5e-40f6-5657-5752-ed43f63557ee",
"username": "est ",
"email": "ut ut exercitation",
"first_name": "incididunt",
"last_name": "ullamco reprehenderit",
"language_id": "aliqua aute",
"date_of_birth": "1971-05-16T08:46:00.274Z",
"gender": "Duis nulla",
"admin_comment": "esse dolor",
"is_tax_exempt": true,
"has_shopping_cart_items": false,
"active": true,
"deleted": true,
"is_system_account": true,
"system_name": "nostrud sunt nulla",
"last_ip_address": "qui et commodo sed Ut",
"created_on_utc": "1977-01-03T11:17:32.984Z",
"last_login_date_utc": "2015-07-11T11:24:07.505Z",
"last_activity_date_utc": "2008-04-29T09:49:39.166Z",
"registered_in_store_id": -13417376,
"subscribed_to_newsletter": false,
"role_ids": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"id": 8613204
},
{
"shopping_cart_items": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"billing_address": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"shipping_address": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"addresses": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"customer_guid": "urn:uuid:9c05f25b-8257-40a9-6964-b39c9258418b",
"username": "dolor eiusmod aliqua ea",
"email": "irure mollit laborum ad",
"first_name": "Ut anim ullamco proident",
"last_name": "non culpa",
"language_id": "fugiat aute",
"date_of_birth": "1992-03-09T22:28:24.409Z",
"gender": "veniam ea mollit",
"admin_comment": "cillum",
"is_tax_exempt": true,
"has_shopping_cart_items": true,
"active": true,
"deleted": false,
"is_system_account": false,
"system_name": "nostrud laborum",
"last_ip_address": "quis proident deserunt",
"created_on_utc": "1979-05-18T05:35:34.971Z",
"last_login_date_utc": "2019-10-04T09:11:49.074Z",
"last_activity_date_utc": "1995-05-02T17:00:51.213Z",
"registered_in_store_id": 52988321,
"subscribed_to_newsletter": true,
"role_ids": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"id": -22459856
}
]
}
🟠400Bad Request
🟠401Unauthorized
🟠404Not Found
🟠422Client Error
Modified at 2025-02-03 20:25:16