curl --location -g --request GET 'http:///V1/coupons/search'
{
"items": [
{
"code": "string",
"coupon_id": 0,
"created_at": "string",
"expiration_date": "string",
"extension_attributes": {},
"is_primary": true,
"rule_id": 0,
"times_used": 0,
"type": 0,
"usage_limit": 0,
"usage_per_customer": 0
}
],
"search_criteria": {
"current_page": 0,
"filter_groups": [
{
"filters": [
{
"condition_type": "string",
"field": "string",
"value": "string"
}
]
}
],
"page_size": 0,
"sort_orders": [
{
"direction": "string",
"field": "string"
}
]
},
"total_count": 0
}