Skip to content

GCP.AuthorizedBuyersMarketplace reference

Source: src/GCP/AuthorizedBuyersMarketplace/BuyersClientsUser.ts

An Authorized Buyers Marketplace client user (buyers/{buyer}/clients/{client}/users/{user}).

Client users have no labels or description — Alchemy stamps ownership into the email plus-tag so list / nuke can find them. Parent and email are identity; changing either replaces the user. Create sends an invitation (INVITED). Activate and deactivate only apply after the invitee accepts.

Generated email

const user = yield* GCP.AuthorizedBuyersMarketplace.BuyersClientsUser(
"Analyst",
{ parent: "buyers/123/clients/456" },
);

Invite a known mailbox

const user = yield* GCP.AuthorizedBuyersMarketplace.BuyersClientsUser(
"Analyst",
{
parent: "buyers/123/clients/456",
email: "analyst@example.com",
},
);
// Same logical id, changed state: the engine keeps the same user.
const user = yield* GCP.AuthorizedBuyersMarketplace.BuyersClientsUser(
"Analyst",
{
parent: "buyers/123/clients/456",
email: "analyst@example.com",
state: "INACTIVE",
},
);