UNPKG

@vulog/aima-promocode

Version:

```bash npm i @vulog/aima-client @vulog/aima-promocode ```

22 lines (16 loc) 401 B
# @vulog/aima-promocode ```bash npm i @vulog/aima-client @vulog/aima-promocode ``` ```javascript import { getClient } from '@vulog/aima-client'; import { getPromoCodeById } from '@vulog/aima-promocode'; const client = getClient({ apiKey: '...', baseUrl: '...', clientId: '...', clientSecret: '...', fleetId: '...', }); const response = await getPromoCodeById(client, 25); ```