@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Type Alias AccountReference

    AccountReference:
        | { account_id: string }
        | { brand: BrandReference; operator: string; sandbox?: boolean }

    Account for product lookup. Returns products with pricing specific to this account's rate card.

    Type Declaration

    • { account_id: string }
      • account_id: string

        Seller-assigned account identifier. For upstream-managed account namespaces, this value comes from list_accounts; for seller-defined namespaces without a list_accounts surface, it is supplied out-of-band. Buyer-declared account sellers MAY echo account_id from sync_accounts as an internal handle, but they MUST continue accepting the natural-key AccountRef for that account on subsequent calls.

    • { brand: BrandReference; operator: string; sandbox?: boolean }
      • brand: BrandReference
      • operator: string

        Domain of the entity operating on the brand's behalf. When the brand operates directly, this is the brand's domain.

        ^a-z0-9?(.a-z0-9?)*$

      • Optionalsandbox?: boolean

        When true, references the sandbox account for this brand/operator pair. Defaults to false (production account).