younifyd
Menu

Get customers/{customerId}/companies/{companyId}

Get customers/{customerId}/companies/{companyId}

GET/V1/customers/{customerId}/companies/{companyId}

Use it in a workflow

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

Request

Path parameters

customerIdintegerrequired
companyIdintegerrequired

Response

Returns 200 with an object. Read it in later steps with {{getCustomersCustomeridCompaniesCompanyid.response.data.<field>}}.

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
{
  "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.