Files
medusa-store/www/apps/docs/content/references/js-client/classes/internal-7.AdminPostCustomersReq.md
github-actions[bot] daea35fe73 chore(docs): Generated JS Client Reference (#5334)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-10 17:47:07 +00:00

1.8 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Class: AdminPostCustomersReq

internal.AdminPostCustomersReq

Schema

AdminPostCustomersReq type: object required:

  • email
  • first_name
  • last_name
  • password properties: email: type: string description: The customer's email. format: email first_name: type: string description: The customer's first name. last_name: type: string description: The customer's last name. password: type: string description: The customer's password. format: password phone: type: string description: The customer's phone number. metadata: description: An optional set of key-value pairs to hold additional information. type: object externalDocs: description: "Learn about the metadata attribute, and how to delete and update it." url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute"

Properties

email

email: string

Defined in

packages/medusa/dist/api/routes/admin/customers/create-customer.d.ts:104


first_name

first_name: string

Defined in

packages/medusa/dist/api/routes/admin/customers/create-customer.d.ts:105


last_name

last_name: string

Defined in

packages/medusa/dist/api/routes/admin/customers/create-customer.d.ts:106


metadata

Optional metadata: Record<string, unknown>

Defined in

packages/medusa/dist/api/routes/admin/customers/create-customer.d.ts:109


password

password: string

Defined in

packages/medusa/dist/api/routes/admin/customers/create-customer.d.ts:107


phone

Optional phone: string

Defined in

packages/medusa/dist/api/routes/admin/customers/create-customer.d.ts:108