Preview

PricingCalculationSnapshot is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

PricingCalculationSnapshot

This page contains

    Fields

    id: ID!
    partner: String!
    createdAt: DateTime!
    operationType: CalculationOperationType! PREVIEW
    calculatePriceRequestIdentifier: ID!
    shoppingCartId: ID
    subscriptionId: ID
    customerContext: SnapshotCustomerContext! PREVIEW
    itemId: ID
    discount: SnapshotDiscount PREVIEW
    pricingPlanId: ID!
    productId: ID
    editionId: ID
    externalSource: String
    currency: Currency!
    pricingPeriod: PricingDuration PREVIEW
    priceBookDetails: SnapshotPriceBookDetails PREVIEW
    customOverrides: SnapshotCustomOverrides PREVIEW
    inputPriceDefinitionIds: [ID]
    basePriceDefinitionId: ID
    discountPriceDefinitionId: ID
    units: [SnapshotQuantityUnit] PREVIEW
    tags: [String!]
    additionalDetails: JSON
    catalogPrices: SnapshotCatalogPrices PREVIEW
    calculation: PricingCalculationSnapshotPayload! PREVIEW

    Implements

    Queries for PricingCalculationSnapshot

    pricingCalculationSnapshot PREVIEW

    Partner-scoped calculation snapshot lookup. Partner comes from the caller, never from input. A snapshot id that is missing for that partner, including an id stored for another partner, is null. Other lookup types return an empty list when nothing matches.