All articles

The shopping agent is recognized. What should it see?

Recognizing a shopping agent does not give it every customer’s prices, order history or payment data. Keep access tied to the buyer and the task.

In this article

A recognized shopping agent asks for a trade price. The request looks useful: a customer wants to place an order without calling the sales desk.

Before answering, the store needs to establish whose price this is. The agent’s identity and the buyer’s commercial relationship answer different questions. Confusing them can turn a convenient new sales route into a way of exposing private terms.

Recognition opens a conversation

Consider a supplier that sells at public prices and offers negotiated prices to approved business customers. An automated visitor identifies itself as a shopping agent and asks for the price agreed with a particular buyer. Serving that request is an account decision, not simply a better version of product search.

The store needs a dependable way to recognize the agent and, separately, the customer it represents. A business name in a message is not enough. Neither is an email address pasted into a request. The proposed connection must establish the relevant relationship through its supported verification process.

Visa’s Trusted Agent Protocol describes signed information for recognizing agents, consumer context and payment interactions. Its merchant specification also describes using verified information to control or limit an interaction. It does not say that a familiar agent name makes every request appropriate. Have the responsible web team verify the actual signals before changing how the store responds.

Keep protection against abuse in place. An agent may be allowed to read product availability without being allowed to make repeated payment attempts or retrieve orders. Recognition can inform that decision; it should not become a shortcut around the store’s controls.

A private price belongs to a particular relationship

A customer may have a price for one account, location, quantity or contract period. Even after identifying the represented buyer, the store must apply the same commercial conditions it would apply when that buyer orders directly. Permission to see a catalogue also differs from authority to place an order for the company.

Ask your web team to demonstrate this with two test customers that have different agreements. Each should receive only its permitted price. Switching the account identifier in a request must not reveal the other customer’s offer. OWASP’s authorization guidance recommends checking permissions on every request and limiting access to what the task needs.

The same boundary must hold when a price is reused. A response generated for an approved customer should not later appear in a public product feed or another shopper’s session. Have the technical team inspect shared caches and generated summaries, as well as the page shown during the demonstration. A correct first screen does not establish where its information goes next.

Preserve the conditions attached to an offer. A negotiated price expiring on Friday is not an indefinite price because an agent saved it on Thursday. Our article on preserving an agreed price follows the related problem when a payment needs another attempt. Confirm the current offer from the merchant’s record before collecting it.

Give the task an answer, not the whole account

An agent checking whether an order shipped may need an authorized order status. It does not follow that it needs the customer’s full purchase history, internal risk notes or every delivery address. Specify the information needed for each supported task and the destination permitted to receive it.

Payment information deserves its own route. Use the payment credential and token flow supported by the approved integration. Do not solve an incomplete agent connection by copying card details, security codes or gateway credentials into a general conversation. The people responsible for security and PCI scope should review any new destination for payment data before it is used.

AP2’s security and privacy guidance distinguishes information required for checkout from information required for payment and describes selective disclosure. That design principle is useful: participating in the purchase does not make every party an appropriate recipient of everything known about it. The actual connection still needs its own access and data handling review.

For Trolleys merchants, discuss a proposed change to account access or payment handling before relying on the existing setup. Our getting started guidance explains the merchant and gateway roles already maintained for approved accounts. It is not an announcement of a Trolleys shopping agent connector.

The supplier should be able to welcome a new way of ordering without turning a private customer relationship into public information. A useful agent connection preserves that boundary while making the authorized task easier.