---
title: "التحقق من كوبون الخصم"
method: POST
path: "/api/coupons/validate"
---

# التحقق من كوبون الخصم

`POST /api/coupons/validate`

## Request

- Base URL: `https://shop.alshhbaa.com`
- URL: `https://shop.alshhbaa.com/api/coupons/validate`
- Auth: none required

يتحقق من صلاحية كوبون الخصم لقيمة سلة محددة.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `code` string, required
  - `amount` number, required

## Response `200`

استجابة JSON

- object

## Other responses

- `400`: طلب غير صالح
- `429`: تجاوز حد الطلبات
- `500`: خطأ داخلي

---

[API](https://skmtc.dev/alshhbaa/apis/alshhbaa-copperware-api.md) · [All operations](https://skmtc.dev/alshhbaa/apis/alshhbaa-copperware-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alshhbaa/apis/alshhbaa-copperware-api/revisions/eaa2e33e878f?raw)
