Actions7
Crear cliente
AI-generatedSummary
Create a Comercia customer account by sending its name and assigned user, plus any populated contact, billing, store, shipping, or account settings, to the Accounts endpoint. Choose Comercia Key or OAuth2 authentication; the customer name is required.
Inputs
- Authentication (required) — Select Comercia Key (the default) or OAuth2 and provide the matching credentials.
- Nombre del Cliente (required) — The customer or account name sent as accountname.
- Usuario Asignado — The Comercia user assigned to the account; defaults to ID 1.
- Contact details — Optionally set the contact first and last name, main phone, email, and account description.
- Price book — Optionally select a price list to assign to the customer.
- Billing and fiscal details — Optionally provide legal name, RFC, RFC postal code, tax regime, payment method, payment form, and CFDI use.
- Store settings — Optionally set the store password, general-public type flag, and available shipping methods.
- Additional account settings — Optionally select default billing and shipping addresses, a default TPV cart, affiliate type, referral, and STP account; set credit limit and days, points card number, campaign data, marketing subscription, email opt-out, owner notification, pending credit-note stamp, and addendum template ID.
Output shape
One n8n output item per input item, containing the Comercia API response in its json data.
Each response also includes _metadata with operation set to createClient and an execution timestamp. If there are no input items, the node processes one empty item using the configured parameters.