ONDC-Official/developer-docs

Need a new error code for seller apps to restrict max order quantity

Closed this issue · 1 comments

Hi @BLR-0118

please add a new error code (ex: 40002) to address the following scenario

NCCF seller is selling Onion and Chana Dal in Delhi and they want to limit the total order quantity to 2 units (each unit is 2 kg item, so total order cannot exceed 4 kg).
For example user can add 2 units of onion or 2 units of chana dal or 1 unit of onion + 1 unit of chana dal.
If the user adds 2 units of onion and 1 unit of chana dal then we intend to send an error code in /on_select that total order quantity has exceeded the limit allowed by seller

use 40009