SenderWiz API
HomepagePricingContact UsLoginSignup
  • Introduction
  • API URL and Key
  • Customer
    • Contact List
      • Get All Lists
      • Get One List
      • Create a List
      • Update a List
      • Copy a List
      • Delete a List
    • Fields
      • Get All List Fields
      • Get One List Field
      • Create a List Field
      • Update a List Field
      • Delete a List Field
      • Get All List Field Types
    • Segments
      • Get All List Segments
      • Get One List Segment
      • Get All Subscribers
      • Create a List Segment
      • Update a List Segment
      • Delete a List Segment
      • Get All List Segment Condition Operators
    • Subscribers
      • Get All Subscribers
      • Get One Subscriber
      • Search Subscriber by Email
      • Search by Email in All Lists
      • Search by Custom Fields in a List
      • Search Subscribers by Status
      • Get Blacklisted Subscribers
      • Get Confirmed Subscribers
      • Get Unconfirmed Subscribers
      • Get Unsubscribed Subscribers
      • Create a Subscriber
      • Create Subscribers in Bulk
      • Update a Subscriber
      • Update a Subscriber by Email
      • Create or Update a Subscriber
      • Unsubscribe a Subscriber
      • Unsubscribe a Subscriber by Email
      • Unsubscribe Subscriber from All Lists
      • Delete One Subscriber
      • Delete Subscriber by Email
    • Campaigns
      • Get All Campaigns
      • Get One Campaign
      • Create a Campaign
      • Update a Campaign
      • Copy a Campaign
      • Pause/Unpause a Campaig
      • Mark a Campaign as SENT
      • Delete a Campaign
      • Get Stats of a Campaign
    • Reports
      • Track Subscriber Click for Campaign
      • Track Subscriber Open
      • Track Subscriber Unsubscribe
    • Bounces
      • Get All Bounces
      • Create a Campaign Bounce
    • Countries
      • Get All Countries
      • Get All Zones of a Country
    • Templates
      • Get All Templates
      • Get One Template
      • Search Templates
      • Create a Template
      • Update a Template
      • Delete a Template
    • Subaccounts
      • Get All Subaccounts
      • Create a Subaccount
      • Update a Subaccount
      • Delete a Subaccount
      • Get Subaccount Permissions
      • Update Subaccount Permissions
    • Transactional Emails
      • Get All Transactional Emails
      • Get One Transactional Email
      • Create a Transactional Email
      • Delete a Transactional Email
  • Admin
    • Customer
      • Get All Customers
      • Get One Customer
      • Create a Customer
      • Update a Customer
      • Delete a Customer
      • Get All Customer Groups
      • Get All Timezones
    • Customer Login via Token
    • Customer Task via Admin API
Powered by GitBook
On this page
  1. Admin
  2. Customer

Update a Customer

Update an existing customer profile using SenderWiz Admin API by passing updated personal or company information.

πŸ‘€ Update a Customer

Use this endpoint to update an existing customer in SenderWiz. You may also update the associated company details if needed.

πŸ”Ή HTTP Request

PUT ADMIN-API-URL/customers/CUSTOMER-UID

πŸ”Έ URL Segments

Segment
Type
Required
Description

CUSTOMER-UID

string

Yes

Unique identifier of the customer to update

πŸ” Authorization Header

X-ADMIN-API-KEY: your-admin-api-key-here

πŸ“ PUT Parameters

Below are the available parameters for updating a customer profile. You can include only the fields you want to update:

Parameter
Type
Required
Description

customer

array

Yes

Main customer details to be updated

company

array

No

Optional company-related information

🧍 Customer Block

Include only the fields you wish to update in the customer profile. You must specify the customer_uid in the URL path.

Field
Type
Required
Description

first_name

string

No

First name of the customer

last_name

string

No

Last name of the customer

email

string

No

Email address (if changing email)

password

string

No

New password

timezone

string

No

Timezone (e.g., Asia/Kolkata)

group

string

No

Group name from Admin Panel

birthDate

string

No

Date of birth in YYYY-MM-DD format

status

string

No

Customer status: Active or Inactive

parent_uid

string

No

UID of an existing customer to set as parent. Leave blank to make it a normal (non-child) account.

Customer Groups must be created first in the SenderWiz Admin Panel. Each group controls what a customer can or cannot do β€” such as whether they can create/upload lists, how many contacts they can manage, or how many emails they’re allowed to send, and many other settings.

πŸ‘‰ Use the Group Name (e.g., "Pro-Group") in the group parameter when updating the customer.

🧩 To make a customer a child account, provide the parent_uid of an existing (non-child) customer account. 🚫 A customer that is already assigned as a child cannot be set as a parent.

You can also update the status of a customer:

  • Active – For active customers.

  • Inactive – Customer data remains, but login and any activity including sending are disabled.

🏒 Company Block (Optional)

Use this block to update any company-related information associated with the customer.

Include only the fields you wish to update in the customer profile. You must specify the customer_uid in the URL path.

Field
Type
Required
Description

name

string

No

Company name

country

string

No

Country name

zone

string

No

State or zone

city

string

No

City name

zip_code

string

No

Postal or ZIP code

address_1

string

No

Primary address line

address_2

string

No

Secondary address line

πŸ’» PHP Example

// UPDATE CUSTOMER
$response = $endpoint->update('ab382plq98zr7', [
    'customer' => [
        'first_name' => 'Emma Updated',
        'timezone'   => 'Asia/Kolkata',
        'group'      => 'Pro-Group'
    ],
    'company' => [
        'city'     => 'Vancouver',
        'address_1'=> '456 King St E'
    ],
]);

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';

πŸ“¦ Sample JSON Response

{
    "status": "success",
    "customer_uid": "hr359dca6g62b"
}
PreviousCreate a CustomerNextDelete a Customer

Last updated 1 month ago