Refused with CONFLICT totalBelowPaid when it would take the order's total below what is already paid.

post/api/public/v1/orders/setOrderDiscount

Request

  • Base URL: https://app.fortuneos.ai
  • URL: https://app.fortuneos.ai/api/public/v1/orders/setOrderDiscount
  • Auth: none declared

Request body

orderIdstring required
discountPresetIdstring nullable
discountPercentinteger
discountAmountCentsinteger

Response

OK

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.