Optional
baseProtected
Readonly
argsOptional
baseOptional
methodArgs: { Optional
headers?: { Optional
queryOptional
expand?: string | string[]Optional
limit?: numberOptional
offset?: numberOptional
sort?: string | string[]Optional
where?: string | string[]Optional
withOptional
methodArgs: { Optional
headers?: { Optional
queryOptional
where?: string | string[]Produces the CustomerPasswordTokenCreated Message.
If the anonymousCart
field is set on the CustomerDraft, then the newly created Customer will be assigned to that Cart.
Similarly, if the anonymousId
field is set, the Customer will be set on all Carts, Orders, ShoppingLists and Payments with the same anonymousId
.
Creating a Customer produces the [CustomerCreated](ctp:api:type:CustomerCreatedMessage) Message. Simultaneously creating two Customers with the same email address can return a [LockedField](ctp:api:type:LockedFieldError) error.
Optional
headers?: { Optional
queryOptional
expand?: string | string[]
Checks if a Customer exists for a given Query Predicate. Returns a
200 OK
status if any Customers match the Query Predicate, or a404 Not Found
otherwise.