{
"id": 1,
"code": "MYCOUPON",
"salt": "298e8d2e935ca",
"global": 0,
"discount": 5,
"uses": 0,
"max_uses": null,
"allowed_emails": null,
"type": "percentage",
"expiration_date": null,
"shop_id": 1,
"created_at": "2024-01-01T00:00:00.000000Z",
"updated_at": "2024-01-01T00:00:00.000000Z",
"products": [
{
"id": 1,
"name": "A Product",
"stock_count": 0,
"pivot": {
"coupon_id": 1,
"product_id": 1
}
}
]
}