HTTP status 422. Only the Affinity app gets this code.
The catalog refuses the pricing terms: a price below the pharmacy's cost, an item that is switched off, a deal on an item only some customers can order, or a second deal for one drug.
Recovery
Change the lines that the detail names, then propose the change again.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.