async lookupByEncryptedId(params = {}) {
    const { encryptedId } = await validateAsync(Joi.object({
      encryptedId: this.schema.encryptedCustomerId.required(),
    }).required(), params);
    const endpoint = `/customer/${encryptedId}/encrypted/*`;
    const response = await this.client.get({ endpoint });
    return new BasicCustomerResponse({ response, resource: this });
  }
/**
   * This API provides the ability look up a Customer by the Encrypted Customer id.
   * The response will include basic Customer information.
   *
   * @link https://main.omeda.com/knowledge-base/customer-lookup-by-encryptedcustomerid/
   * @param {object} params
   * @param {number} params.encryptedId
   * @returns {Promise<BasicCustomerResponse>} The basic Customer properties
   */
This API provides the ability look up a Customer by the Encrypted Customer id.
The response will include basic Customer information.


This API provides the ability look up a Customer by the Encrypted Customer id . The response will include basic Customer information .
async lookupByEncryptedId(params = {}) {
    const { encryptedId } = await validateAsync(Joi.object({
      encryptedId: this.schema.encryptedCustomerId.required(),
    }).required(), params);
    const endpoint = `/customer/${encryptedId}/encrypted/*`;
    const response = await this.client.get({ endpoint });
    return new BasicCustomerResponse({ response, resource: this });
  }
async lookupByEncryptedId ( params = { } ) { const { encryptedId } = await validateAsync ( Joi . object ( { encryptedId : this . schema . encryptedCustomerId . required ( ) , } ) . required ( ) , params ) ; const endpoint = ` ${ encryptedId } ` ; const response = await this . client . get ( { endpoint } ) ; return new BasicCustomerResponse ( { response , resource : this } ) ; }
This API provides the ability look up a Customer by the Encrypted Customer id.
This API provides the ability look up a Customer by the Encrypted Customer id .