Skip to content

JNY-COM-CAT-002An administrator configures audience prices and checks a preview

Markdown

JNY-COM-CAT-002

An administrator configures audience prices and checks a preview

Markdown
  • DocumentDraft
  • Product intentConfirmed
  • ImplementationPartially observed

KindJourneyProduct areaCommerceModuleCatalog and Selling ConfigurationRevision1End-to-endRequired

Read atservices-commerce c8b66a98react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Goal
Understand the prices different buyers receive across the configured periods.
Screens
/console/{tenantId}/configuration/orders/pricingAudiences/console/{tenantId}/configuration/accounting/products/{productId}/pricing

Steps

#SurfaceActionCapabilityExpectedProvenance
1/console/{tenantId}/configuration/orders/pricingAudiencesInspect built-in ranks and add the Student audienceCAP-COM-CAT-010The audience list includes Student in rank orderdocumented
2createPricingSchedulePrepare adjacent Early Bird and Regular periods through the schedule APICAP-COM-CAT-011The saved periods share the Early Bird end boundarytest
services-commerce:modules/pricing/tests/e2e/pricing-schedules.e2e.spec.js#answers 200, the id its name suggests, in the tenant of the path, at version 1, with the periods in the order given, their ids derived
3/console/{tenantId}/configuration/accounting/products/{productId}/pricingEnter audience prices and choose lowest-price selectionCAP-COM-CAT-012The saved grid includes the required Standard coveragedocumented
4/console/{tenantId}/configuration/accounting/products/{productId}/pricingPreview Student pricing before and after the configured boundaryCAP-COM-CAT-013The response explains the selected audience and perioddocumented

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
alternate3Rank-based audience selection is configuredThe first qualifying audience by rank supplies Member pricingRestoring cheapest-price selection restores Student pricingtest
services-commerce:modules/pricing/tests/e2e/product-purchasing-settings.e2e.spec.js#prices the same buyer at the member price under rank, Member coming before Student members
alternate2Early Bird has already priced a purchase and must run a week longerCustomer customer staff move its end later; Regular starts a week laterThe original sale retains its earlier period associationtest
services-commerce:modules/pricing/tests/e2e/pricing-schedules.e2e.spec.js#extends the sold-in Early Bird by a week, Regular starting where it now ends, its first sale untouched
failure1Staff request audience removal while product price references remainThe delete fails validation with the count of products; Deactivate is offeredStudent prices stay retained and unused until reactivatedtest
services-commerce:modules/pricing/tests/e2e/pricing-audiences.e2e.spec.js#refuses the delete 409 audience_in_use with the sentence and the details
failure2Standalone schedule administration is absent after the ownership decisionAn API client prepares the period configurationThe grid presents its periods as columnsdocumented

Assertions

IdStatementProvenance
01Product price references prevent audience deletion but allow deactivation.test
02Saving an audience edit returns the console to its revised view.test
react-console:e2e/mock/commerce-view-edit.mock.spec.ts#open an audience on a full-width view, edit it and save back to the view
03Current-end adjustment changes later period selection while retaining earlier sale history.test
services-commerce:modules/pricing/tests/e2e/pricing-schedules.e2e.spec.js#still reads a sale made before the change in the same period, and now a day after the old end in Early Bird too
04Changing selection strategy changes the price chosen for the same qualifying buyer.test
services-commerce:modules/pricing/tests/e2e/product-purchasing-settings.e2e.spec.js#prices the buyer at the student price again once the selection is put back to lowest
05Hypothetical audience qualification is identified as an assumption in preview.test
services-commerce:modules/pricing/tests/e2e/price-quote-staff-form.e2e.spec.js#answers 200 priced at the member cell, the audience marked assumed in the provenance, the response saying what it assumed

End-to-end policy: required: Prices are what buyers pay; the grid, the settings panel and Preview As are console-exclusively and their combined effect is the milestone’s central walkthrough step.

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.