Replace the checkout form policy
Replaces the whole policy — a key you omit takes its default rather than keeping the stored value, so what the screen shows is what the store gets.
Ids are server-owned. Omit id on a field to create it; the response carries the minted id. An id the store does not already have is refused, because ids key the answer snapshots on existing orders.
Unknown keys are refused rather than ignored, so a typo cannot silently vanish. Every problem is reported at once in context.issues.
Saving the defaults clears the stored policy entirely (the column goes back to NULL), which is also the documented rollback for the feature.
Fixed fields — name, phone, wilaya, commune — are not configurable: COD dispatch, customer identity and delivery pricing all depend on them.
Replace the checkout form policy › Request Body
Replace the checkout form policy › Responses
The saved policy
success