Skip to content

API · sale-view ​

Trang sinh tự động

Parse từ schema.graphql (SDL backend export) bằng parser graphql. Mô tả và quyền lấy nguyên văn từ description trong SDL.

6 query · 0 mutation.

Query ​

saleCustomers ​

The Sale's own attributed customers (masked). attribution.read (own).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
periodSalePeriodInput
campaignIdID
stateString
pageInt
pageSizeInt

Trả về SaleCustomerPage!

FieldKiểuMô tả
items[SaleCustomer!]!
pageInt!
pageSizeInt!
totalInt!
scopeSaleViewScope!
teamBasisSaleTeamBasisNull for OWN.
periodSalePeriod

saleOrders ​

The Sale's own attributed orders (buyer masked). attribution.read (own).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
periodSalePeriodInput
campaignIdID
stateString
campaignTypeCampaignType
pageInt
pageSizeInt

Trả về SaleOrderPage!

FieldKiểuMô tả
items[SaleOrder!]!
pageInt!
pageSizeInt!
totalInt!
scopeSaleViewScope!
teamBasisSaleTeamBasis
periodSalePeriod

salePerformance ​

The Sale's own period performance. attribution.read (own).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
periodSalePeriodInput!

Trả về SalePerformance!

FieldKiểuMô tả
scopeSaleViewScope!
teamBasisSaleTeamBasisHISTORICAL_SNAPSHOT for TEAM; null for OWN.
periodSalePeriod!
valueBasisSaleValueBasis!
baseBasisString!What qualifiedBaseVnd measures: the P4-13 base (V0 or one cycle). The headline value is grossValueVnd.
sourceStatusSaleSourceStatus!
incompleteReasons[SaleIncompleteReason!]!
policyUndecided[SaleUndecidedPolicy!]!
rows[SalePerformanceRow!]!
grossTotalOrdersInt!The period's gross total over the whole scope: the number of attributed orders created in the period (the count behind grossTotalValueVnd; the same cutoff as rows).
grossTotalValueVndVndAmount!The period's gross total over the whole scope: sum of grossValueVnd of every row (a quiet window is a true 0 only when sourceStatus is COMPLETE).
updatedAtDateTime!Same cutoff for totals and lists.

teamCustomers ​

Customers of the manager's teams. customer.read (TEAM; HISTORICAL_SNAPSHOT also report.read).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
teamIdID
basisSaleTeamBasis
periodSalePeriodInput
campaignIdID
stateString
pageInt
pageSizeInt

Trả về SaleCustomerPage!

FieldKiểuMô tả
items[SaleCustomer!]!
pageInt!
pageSizeInt!
totalInt!
scopeSaleViewScope!
teamBasisSaleTeamBasisNull for OWN.
periodSalePeriod

teamOrders ​

Orders of the manager's teams. order.read (TEAM; HISTORICAL_SNAPSHOT also report.read).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
teamIdID
basisSaleTeamBasis
periodSalePeriodInput
campaignIdID
stateString
pageInt
pageSizeInt

Trả về SaleOrderPage!

FieldKiểuMô tả
items[SaleOrder!]!
pageInt!
pageSizeInt!
totalInt!
scopeSaleViewScope!
teamBasisSaleTeamBasis
periodSalePeriod

teamPerformance ​

Period performance per team on the attribution-time team. report.read (TEAM, historical).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
teamIdID
periodSalePeriodInput!

Trả về SalePerformance!

FieldKiểuMô tả
scopeSaleViewScope!
teamBasisSaleTeamBasisHISTORICAL_SNAPSHOT for TEAM; null for OWN.
periodSalePeriod!
valueBasisSaleValueBasis!
baseBasisString!What qualifiedBaseVnd measures: the P4-13 base (V0 or one cycle). The headline value is grossValueVnd.
sourceStatusSaleSourceStatus!
incompleteReasons[SaleIncompleteReason!]!
policyUndecided[SaleUndecidedPolicy!]!
rows[SalePerformanceRow!]!
grossTotalOrdersInt!The period's gross total over the whole scope: the number of attributed orders created in the period (the count behind grossTotalValueVnd; the same cutoff as rows).
grossTotalValueVndVndAmount!The period's gross total over the whole scope: sum of grossValueVnd of every row (a quiet window is a true 0 only when sourceStatus is COMPLETE).
updatedAtDateTime!Same cutoff for totals and lists.

Sinh từ ad83b0aea · 820 migration · PostgreSQL 17