ClavianAPI errors
All error codes

409 Conflict

Order below the code’s minimum

Code
discount_code_minimum
Status
409 Conflict
Type
https://errors.clavian.io/discount-code-minimum

What it means

The discount code needs a larger order than this one.

What to do

Say how the code applies to a larger order, and let the person add to it or carry on without the code.

Example

The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.

{
  "type": "https://errors.clavian.io/discount-code-minimum",
  "title": "Order below the code’s minimum",
  "status": 409,
  "code": "discount_code_minimum",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

From the OpenAPI document, every endpoint that names it among its answers: