> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pureclarity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3. B2B Account Pricing

# B2B Account Pricing

Account Price Record is used for variable pricing for account customers.  This is more common for B2B sites or those sites that use account specific pricing.  This is an optional section in the PureClarity product feed format. The account price record can be included in the product feed along with the products array, or alternatively it may be sent as a Product Delta.

```json theme={null}
{
  "Products": [ {<product1>}, . . . ., {<productN>} ],
  "AccountPrices": [ {<price>}, . . . ., {<priceN>} ],
}
```

Where each Price record is in the format:

```json theme={null}
{
  "AccountId": <string>,
  "Id": <string>,
  "Prices": [<same as in Prices record>],
  "SalePrices": [<same as in Prices record>]
}
```

If using account pricing, you must ensure that in the [customer\_details](/integrations/custom/api-reference/event-tracking/customer_details) and [order](/integrations/custom/api-reference/event-tracking/order) trackings event that the `accid` of the account is sent.

PureClarity will then display the appropriate account price.

<Note>
  If you have a significant number of accounts, or a significant number of prices per account, it may be unfeasible to send all the data to PureClarity. If this is the case you will need to use our [server-side API](/integrations/custom/api-reference/server-side/server-side), and handle the pricing yourself.
</Note>
