Skip to content

Updating customer entities without setting increment ID? #417

@mobweb

Description

@mobweb

Currently I am using the following update data to update existing customer entities:

$importData[] = array(
    '_website' => $websiteId,
    'email' => $emailAddress,
    'group_id' => $customerGroupId,
);

As you can see, we are only updating the customer group ID.

However, when using this data to update the customer entities, the "increment_id" field is set to NULL upon import.

Is there a way to update a single field (e.g. "group_id") without having to set the "increment_id" field?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions