Promotions
Allows you to interact with promotions and related endpoints.
For more information on how promotions work, see the Solidus Developer's Guide
Get Promotion
[GET] /api/promotions/:id
admin
Retrieves a promotion by its id
.
Usage
import { Solidus } from 'solidus-sdk'
const instance = new Solidus({ href: 'https://mysolidus.app' })
instance.promotion().get({ id })