Partner price book
ตั้ง offer, version และ level จากฝั่ง partner แล้วส่งให้ 12pm-api validate, activate และเก็บ audit ก่อนนำไปใช้ใน checkout preview
partner-configured offer levels submitted to 12pm-api for validation, activation, preview, and audit
current rowVersion read
MVP-supported
pricing, validation, audit
Production summary
2026-08-20 · svcday_INTERNAL_DEMO_2026_08_20
Loading production summary from 12pm-api.
GET /v1/partner/service-days/svcday_INTERNAL_DEMO_2026_08_20/production-summaryNot refreshed yetSingle meal
optional for ordinary draft save; lifecycle actions keep audit reason
Reading the editable draft version from 12pm-api.
PATCH requires editableDraftVersionId + latestDraftVersion.rowVersionRevision waits for active immutable readback from 12pm-api.
POST revise waits for active immutable source versionReading lifecycle state from 12pm-api.
save -> validate -> activate -> GET readbackSingle-order level
Backend-owned checks
required code, name, purchase mode, price shape, validity, and scope
level conditions match the selected MVP purchase mapping
unsupported mapping stays blocked before activation
lifecycle actions keep audit reason, while ordinary draft save can use an optional note
Draft
editablePartner Price Admin
Create or revise offer versionValidate with 12pm-api
reviewablePartner Price Admin
Run contract validationActivate version
activePartner Price Admin
Make current version available to checkout previewCommercial Owner override
auditedPlatform Commercial Owner
Override, revise, or deactivate with reasonVersion trace
GET /v1/partner/offersPOST /v1/partner/offersPATCH /v1/partner/offers/{offerId}/versions/{versionId}POST /v1/partner/offers/{offerId}/versions/{versionId}/validatePOST /v1/partner/offers/{offerId}/versions/{versionId}/activatePOST /v1/partner/offers/{offerId}/versions/{versionId}/reviseactorreasontimestampimpactIdempotencyIdempotency-Key: 12pm-partner:save-draft:single-001Idempotency-Key: 12pm-partner:validate-version:single-001Idempotency-Key: 12pm-partner:activate-version:single-001Idempotency-Key: 12pm-partner:revise-version:single-001PACKAGE + GROUP_CONTEXTdiscount stackingautomated repricing/refundarbitrary pricing scripts