---
title: "Coupons (Magento)"
description: "Coupons"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/magento/Magento.Marketing.Coupons
original: https://documentation.invantive.eu/en/datamodels/magento/Magento.Marketing.Coupons
updated: 2026-11-03T19:00:58Z
license: https://documentation.invantive.eu/en/
---

# Coupons: Magento Coupons

`insert` `update` `delete` `REST`

- Catalog: `Magento`
- Schema: `Marketing`
- Primary Keys: `coupon_id`
- Label: Coupons

Retrieve a coupon using the specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#CouponRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

Can retrieve data and change data using `insert`, `update` and `delete`.

## Summary

Retrieve a coupon using the specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#CouponRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

## API Source

- Endpoint: `/V1/coupons/search`
- Operation: `get /V1/coupons/search`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 45 |
| Full scan rows per minute | 114,833 |
| Point query rows per minute | 1,188 |
| Write rows per minute | 599 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `searchCriteria[currentPage]` | `` | [ ] |  | Current page. |
| `searchCriteria[filterGroups][0][filters][0][conditionType]` | `` | [ ] |  | Condition type |
| `searchCriteria[filterGroups][0][filters][0][field]` | `` | [ ] |  | Field |
| `searchCriteria[filterGroups][0][filters][0][value]` | `` | [ ] |  | Value |
| `searchCriteria[pageSize]` | `` | [ ] |  | Page size. |
| `searchCriteria[sortOrders][0][direction]` | `` | [ ] |  | Sorting direction. |
| `searchCriteria[sortOrders][0][field]` | `` | [ ] |  | Sorting field. |

## Table Columns

The columns of the table `Coupons` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `code` | `varchar2` | Code | [ ] | filters on the platform, writable, `code` | Coupon code |
| `coupon_id` | `int64` | Coupon ID | [ ] | filters on the platform, writable, `coupon_id` | Coupon id |
| `created_at` | `varchar2` | Created At | [ ] | filters on the platform, writable, `created_at` | When the coupon is created |
| `expiration_date` | `varchar2` | Expiration Date | [ ] | filters on the platform, writable, `expiration_date` | Expiration date |
| `extension_attributes` | `varchar2` | Extension Attributes | [ ] | writable | The JSON text of the nested object. |
| `is_primary` | `char` | Is Primary | [ ] | filters on the platform, writable, `is_primary` | The coupon is primary coupon for the rule that it's associated with |
| `rule_id` | `int64` | Rule ID | [ ] | filters on the platform, writable, `rule_id` | The id of the rule associated with the coupon |
| `times_used` | `int64` | Times Used | [ ] | filters on the platform, writable, `times_used` | The number of times the coupon has been used |
| `type` | `int64` | Type | [ ] | filters on the platform, writable, `type` | Of coupon |
| `usage_limit` | `int64` | Usage Limit | [ ] | filters on the platform, writable, `usage_limit` | Usage limit |
| `usage_per_customer` | `int64` | Usage per Customer | [ ] | filters on the platform, writable, `usage_per_customer` | Usage limit per customer |

