# Retrieve a coupon use

Source: https://developers.swell.is/backend-api/coupon-uses/retrieve-a-coupon-use

Retrieve an existing coupon use using the ID that was returned when created.

## Arguments

- `id` (objectId, required): The ID of the coupon use to retrieve.

## Example request

`GET /coupons:uses/:id`

**cURL**

```sh
$ curl https://api.swell.store/coupons:uses/62855442ff7baa0019e12f3c \
  -u store-id:secret-key
```

**Node**

```javascript
const { swell } = require('swell-node');
swell.init('store-id', 'secret-key');

await swell.get('/coupons:uses/{id}', {
  id: '62855442ff7baa0019e12f3c'
});
```

**PHP**

```php
<?php $swell = new \Swell\Client('store-id', 'secret-key');

$swell->get('/coupons:uses/{id}', [
  'id' => '62855442ff7baa0019e12f3c'
]);
```

## Example response

```json
{
  "parent_id": "59c189016094a888436aee7f",
   "code": "DAGOTHWAVE",
   "code_id": "59c2c4a4c339b09853c6799c",
   "account_id": "60d61bd6575eaa344eab5c83",
   "order_id": "624319a0178e7f6c57bb3c49",
   "date_created": "2022-05-11T18:00:43.894Z",
   "id": "627bf9cb6d9c840012204a8a"
},
```
