Backend API
Retrieve an existing promotion use using the ID that was returned when created.
Arguments
idobjectIdrequired
The ID of the promotion use to retrieve.
GET/promotions:uses/:id
const { swell } = require('swell-node');
swell.init('store-id', 'secret-key');
await swell.get('/promotions:uses/{id}', {
id: '62a09f3a17f83f001975b4d1'
});Response
{
"parent_id": "6285746dd0fc72001a6a2f4e",
"account_id": "628fb3c90f42a10014f04787",
"order_id": "62a09d0317f83f001975b491",
"date_created": "2022-06-08T13:08:10.445Z",
"id": "62a09f3a17f83f001975b4d1"
}