younifyd
Menu

Create customers/companies

Create customers/companies

POST/V1/customers/companies

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Create customers/companies action (under Customers).
  3. Fill in the fields below, then reference the result from later steps as {{createCustomersCompanies.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

companyAttributesobjectrequired

Extended customer custom attributes interface.

customer_idinteger

Customer ID.

company_idinteger

Company ID.

job_titlestring

Job title.

statusinteger

Customer status.

telephonestring

Telephone.

is_defaultboolean

Is default

extension_attributesobject

ExtensionInterface class for @see \Magento\Company\Api\Data\CompanyCustomerInterface

json
{
  "companyAttributes": {
    "customer_id": 0,
    "company_id": 0,
    "job_title": "string",
    "status": 0,
    "telephone": "string",
    "is_default": false,
    "extension_attributes": {}
  }
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.

Create customers/companies — Adobe Commerce — Documentation