open-wa v5 is alpha. Use v4.76.0 for mature production systems unless you are validating v5.
The Client APIAPI ExplorerLicensing

Business Client API

Generated client method reference for the business namespace.

Client Business Methods Wally

Business Client API

Generated file warning: this page is generated by packages/schema/scripts/gen-client-reference-docs.ts. Do not edit generated method content by hand.

This page documents 3 schema-registry client methods in the business namespace.

getBusinessProducts

Get business products

Overview

PropValue
Namespacebusiness
Actionread
Functionalityboth
Positional parameter ordercontactId
Aliasesbusiness.getProducts, business.getProfilesProducts, getBusinessProfilesProducts
Deprecated aliasesbusiness.getProfilesProducts, getBusinessProfilesProducts
Licensenone
WAPI overridegetBusinessProfilesProducts
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryGET/api/business/getProductsgetBusinessProductsActive
Deprecated aliasGET/api/business/getProfilesProductsbusiness.getProfilesProductsDeprecated
AliasGET/api/getBusinessProductsgetBusinessProductsActive
Deprecated aliasGET/api/getBusinessProfilesProductsgetBusinessProfilesProductsDeprecated

Usage

const result = await client.getBusinessProducts({
  contactId: "447123456789@c.us",
});
const result = await client.business.getProducts({
  contactId: "447123456789@c.us",
});
curl -G "http://localhost:8080/api/business/getProducts" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "contactId=447123456789@c.us"

Parameters

Prop

Type

Output

PropValue
Return typeunknown

getBusinessProfile

Get business profile

Overview

PropValue
Namespacebusiness
Actionread
Functionalityboth
Positional parameter ordercontactId
Aliasesbusiness.getProfile
Deprecated aliases-
Licensenone
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryGET/api/business/getProfilegetBusinessProfileActive
AliasGET/api/getBusinessProfilegetBusinessProfileActive

Usage

const result = await client.getBusinessProfile({
  contactId: "447123456789@c.us",
});
const result = await client.business.getProfile({
  contactId: "447123456789@c.us",
});
curl -G "http://localhost:8080/api/business/getProfile" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "contactId=447123456789@c.us"

Parameters

Prop

Type

Output

PropValue
Return typeunknown

getOrderInsiders

Get order details

Overview

PropValue
Namespacebusiness
Actionread
Functionalityboth
Positional parameter orderid
Aliasesbusiness.getOrder
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryGET/api/business/getOrdergetOrderActive
AliasGET/api/getOrdergetOrderActive

Usage

const result = await client.getOrder({
  id: "id",
});
const result = await client.business.getOrder({
  id: "id",
});
curl -G "http://localhost:8080/api/business/getOrder" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "id=id"

Parameters

Prop

Type

Output

PropValue
Return typeunknown
Wally the Walrus typing

Was this helpful?

Wally and his cute companion coffee mug are coding day and night to keep this up-to-date!

On this page