ONDC-Official / ONDC-Protocol-Specs

Open Network for Digital Commerce (ONDC) Open API Specifications. ONDC is an ambitious initiative to democratize digital commerce by creating a decentralized network of buyer apps and seller apps through an interoperable protocol specification.
Other
138 stars 59 forks source link

error code for throttled requests #92

Open iAmPankajj opened 1 year ago

iAmPankajj commented 1 year ago

Hi Team,

Can we add an error code to signify requests that are throttled at service provider side (logistics or seller app)? OR Is it expected to use HTTP status code 429 with message text "Too Many Requests" ?

Thanks -Pankaj

BLR-0118 commented 1 year ago

Yes, let's use http status code 429

BLR-0118 commented 1 year ago

@iAmPankajj

iAmPankajj commented 1 year ago

Thanks Supriyo for confirmation