---
title: "Validate a coupon code"
method: POST
path: "/validateCoupon"
tags: ["Coupons"]
---

# Validate a coupon code

`POST /validateCoupon`

## Request

- Base URL: `https://ps.shoppable.com`
- URL: `https://ps.shoppable.com/validateCoupon`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/shoppable/apis/shoppable-checkout-api/docs/validateCoupon/post.ts> (a function with typed inputs; its response is checked against the schema)

Note: invalid coupons may return HTTP 200/400 with `{ status: 0, message }`.
The SDK normalizes this into a consistent result object.

## Request body

- object
  - `email` string
  - `customerId` string
  - `couponCode` string, required
  - `usageType` string

## Response `200`

Coupon result

- CouponResult
  - `status` integer
  - `message` string

---

[API](https://skmtc.dev/shoppable/apis/shoppable-checkout-api.md) - [All operations](https://skmtc.dev/shoppable/apis/shoppable-checkout-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoppable/apis/shoppable-checkout-api/revisions/c9c13c2a993d?raw)
