action api2cart_customer_add { label: "CustomerAdd" description: "Add customer into store." provider: api2cart method: POST path: "/customer.add.json" encoding: json input: { type: "object" required: ["email", "first_name", "last_name"] properties: { address: { type: "array" items: { type: "object" properties: { address_book_address1: { type: "string" description: "Specifies customer's first address in the address book" } address_book_address2: { type: "string" description: "Specifies customer's second address in the address book" } address_book_city: { type: "string" description: "Specifies customer's city in the address book" } address_book_company: { type: "string" description: "Specifies customer's company name in the address book" } address_book_country: { type: "string" description: "ISO code or name of country" } address_book_default: { type: "boolean" description: "Defines whether the address is used by default" } address_book_fax: { type: "string" description: "Specifies customer's fax in the address book" } address_book_first_name: { type: "string" description: "Specifies customer's first name in the address book" } address_book_gender: { type: "string" description: "Specifies customer's gender" } address_book_last_name: { type: "string" description: "Specifies customer's last name in the address book" } address_book_phone: { type: "string" description: "Specifies customer's phone number in the address book" } address_book_postcode: { type: "string" description: "Specifies customer's postcode" } address_book_region: { type: "string" description: "Specifies customer's region" } address_book_state: { type: "string" description: "ISO code or name of state." } address_book_type: { type: "string" description: "Specifies customer's address type" } address_book_website: { type: "string" description: "Specifies customer's website in the address book" } } } } birth_day: { type: "string" description: "Defines customer's birthday" } company: { type: "string" description: "Defines customer's company" } created_time: { type: "string" description: "Entity's date creation" } email: { type: "string" description: "Defines customer's email" } fax: { type: "string" description: "Defines customer's fax" } first_name: { type: "string" description: "Defines customer's first name" } gender: { type: "string" description: "Defines customer's gender" } group: { type: "string" description: "Defines the group where the customer" } last_login: { type: "string" description: "Defines customer's last login time" } last_name: { type: "string" description: "Defines customer's last name" } login: { type: "string" description: "Specifies customer's login name" } modified_time: { type: "string" description: "Entity's date modification" } news_letter_subscription: { type: "boolean" description: "Defines whether the newsletter subscription is available for the user" } password: { type: "string" description: "Defines customer's unique password" } phone: { type: "string" description: "Defines customer's phone number" } status: { type: "string" description: "Defines customer's status" } store_id: { type: "string" description: "Store Id" } website: { type: "string" description: "Link to customer website" } } } output: { type: "object" properties: { result: { type: "object" properties: { customer_id: { type: "string" } } } return_code: { type: "integer" } return_message: { type: "string" } } } }